Skip to main content

Page targeting explained


When creating new product tour it is crucial to set up the right targeting to ensure the tour is shown in the right context to the right audience. You can set up targeting with Usetiful easily, but also advanced options are available.


Page targeting can be set up when creating a new tour or within the Settings section of an existing tour.




A product tour can be displayed on any page where the Usetiful code is embedded. Page targeting allows you  to narrow down the availability of a tour to certain pages only. If more conditions are defined, the tour content will show only on pages matching all conditions.

Condition - URL contains

When this condition is set, Usetiful checks whether the page URL address contains the text provided as argument. You can enter the full address (such as 'https://yourpage.com/path') or just a relative path (such as '/path/index.html'). 

Note: If your URL contains special characters, such as # or ?, enter sign \ before each of them.

If you need the tour to display on multiple pages you can enter the argument as regular expression. Entering the regular expression is handy if you need to target pages with a dynamic part of the URL (e.g. 'https://yourpage.com/page?id={pageId}'). Just add into the field 'page\?id=' and the product tour will display on similar pages.


Condition - Element exists

The tour will display only on pages that contain a specific HTML element. For example, you can cover different steps in user's workflow with different tours. Once this condition type is chosen you need to enter a valid element selector in the argument.

In a similar way, you can use the negative condition 'Element doesn't exist'.

Condition - Element text content equals

In addition to the previous condition type you can also check a text content of the select element. This is especially handy to detect different page languages or specific values displayed on a page.


Combine conditions

Combining mentioned conditions in the Page targeting section is possible, but bear in mind that the product tour will show only on pages that match all the conditions.




If you encounter any issues or need different targeting options, feel free to contact us.

Or read more on this helpful article about what is page targeting.

Popular posts from this blog

Hotspots and their purpose in user onboarding

When done well, Hotspots can help with user onboarding by quickly highlighting features or functions.

Select Element on Your Page

  To associate tour steps (pointers) with specific elements on your site, you need to hook to the selectors of elements. Selectors are used to "find" the HTML elements on your site. It is not difficult to find out the selector of a specific page element. The easiest way is to use our Chrome extension . Usetiful for Chrome extension (Recommended) 1. We recommend you to first install  the extension  - it enables you to preview product tours directly on your page without embedding the code. When on the page, it allows you to get the element selector on just one click.   2. Inside the tour editor, the " Element"  field require you to enter the selector of the HTML element on your site. Click on the  "Select element"  action on the right side of the field.  The following dialog will appear if the Usetiful browser extension is enabled. 3. Enter the address of your web page and click "Open page" 4. To select the...

Alternatives to Shepherd: Which One Is Right for You?

  Shepherd is a popular open-source tool for building product tours. However, there are better options to meet the demands of modern onboarding. Here are some great alternatives that can help boost user adoption. What is Shepherd? Shepherd is a JavaScript library. It was built to help onboard new users with product walkthroughs. It's a flexible tool that allows you to drop product tours into your app using popular languages like: Angular Ember ES Modules Vue.js  Javascript Shepherd comes with a few default themes, but its primary selling point is that it allows you to customize your tours.  The problems with Shepherd as an onboarding tool We're not here to rip Shepherd. It's a good tool that does what it sets out to do. However, it falls short of a great modern onboarding tool for several reasons. #1. Limited accessibility Shepherd is relatively easy to use if you have good technical knowledge. However, you're out of luck if you don't know how to code. In an era whe...