When creating a 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, users or devices only. If more conditions are defined, the tour content will show when all conditions are matched.

Condition nameDescription
URL-based conditions:
URL containsWhen this condition is set, Usetiful checks whether the page URL address contains the text value. You can enter the full address (such as 'https://yourpage.com/path') or just a relative path (such as '/path/index.html').
URL regular expressionIf you need the tour to display on multiple pages you can enter the argument as a regular expression.

Examples of regular expressions can be found here.

User-based conditions:
Tag isWhen this condition is set, the tour will show only if the given user has the expected tag. Find out more about how to segment users using tags here.
Page content-based conditions:
Element exists

The tour will display only on pages that contain a specific HTML element. This allows you to target tours to users that have permission to see specific features.

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

Element text containsIn addition to the previous condition type, you can also check the text content of the select element. This is especially handy to detect different page languages or specific values displayed on a page.
Element attribute containsWith this condition, you can test the content of specific attributes on a given element.
Device-based conditions:
Device type isYou can target your tours to mobile, tablet or desktop devices.

Combine conditions

Combining mentioned conditions in the Page targeting section is possible - if combined, the product tour will show only on pages that match all the conditions.