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'). 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.