All Collections
Run web surveys
Set up pages where your survey is triggered
Set up pages where your survey is triggered

Target your website or in-product survey on certain pages using URL or RegEx conditions

Agnieszka avatar
Written by Agnieszka
Updated over a week ago

Choose where your survey will be displayed. Adjust survey questions to the step of your customer's journey and select which URL condition will help you collect the most insightful feedback.

Not done with your website or in-product survey yet?

Set up your survey URL

By default, your survey will be displayed on all pages you have the tracking code installed. Follow this guide to adjust the display of the survey only on a specific page.

1. Go to Target > Triggers > Where would you like to show the survey?

2. Select the Only certain pages option if you want to display the survey on a specific page.

3. You can see two options: Show the survey on the following pages and Don't show it on certain pages. You can apply both conditions for one survey so that it only shows on a specific group of pages, excluding some of them.

❗️Between show the survey on the following pages and don't show on certain pages, there is an 'AND' logical conjunction. So, your survey will show when both of these conditions are matched.

💡 For example, if you wanted to show your survey to everyone visiting URLs ending with /checkout while excluding those visiting URLs ending with /test, your conditions would be:

📌 You can include or exclude pages simultaneously and set up different conditions based on different parameters. To include additional pages, click on the ➕ Add new pages option.

How does every type of condition work?

As you can see below, we have various conditions applicable to the site's URL.

  • Exact URL Match lets you show your survey only on a specific page. It's useful if you want to survey customers viewing a certain software feature or a particular product. The survey won't be displayed a survey on any page that doesn't exactly match the URL, which means when you pick the match condition for the survey won't be viewed on

  • URL Starts with is for displaying surveys on pages beginning with a specific URL. This way, you can, for example, target everyone checking your pricing by visiting or target only users of your online app with

  • URL Ends with lets you display surveys only on pages that have a URL ending with a specific string of characters. For instance, when you want to target people looking for a certain feature of your software, you can use ends with: feature so no matter how the URL changes, the survey will be displayed if it ends with a feature.

  • URL Contains is for displaying surveys on pages containing a particular string of characters. This way, you can, for example, target everyone visiting your /cart/ regardless of a product they've chosen or the page they came from.

  • URL RegEx is a condition that can be used when you or your developer know how to use Regular Expressions properly. Regular Expressions allow people to search for certain strings of characters and pieces of information in a line of code. With Survicate, you can use them to target specific sets of pages without applying a number of different rules. (Click here to learn more about RegEx conditions).

Best practices

Make sure only a chosen group of visitors see your survey

Define your survey audience to ensure that only visitors with specific attributes, devices, or visit frequency can respond.

Run multilingual surveys

Try our automatic translations feature to show your respondent's surveys adjusted to their browser language and increase the response rate.

📞 If you have any questions or need help installing the Survicate tracking code on your website - feel free to reach out to our team via chat or email:

Did this answer your question?