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

Popular posts from this blog

Create product tours with Usetiful

Usetiful contains an advanced editor that enables you to build tours visually without any programming skills. Try it yourself with 14-day trial.

Preview Tours with Usetiful Chrome Extension

We are happy to introduce Usetiful for Chrome, a new browser extension that enables you to preview all your Usetiful product tours on any site without touching the code. Just follow the steps below to preview your product tours:

Install plugin and preview your tour 1. Enter Google Chrome Web Store and install the Usetiful: Product Tours extension.

(Note: Usetiful: Product Tours browser extension works with Chrome browser only)
2. When the plugin is successfully installed, the Usetiful icon will appear in the browser top bar with the following message.

3. Click on the Usetiful icon and log in using your Usetiful credentials. If you are currently logged in to the Usetiful, the plugin will connect to your account automatically.
4. Go to the page where you want to preview your tour. The bottom panel indicates whether the selected tour is available.
(Note: Only tours that are allowed to be shown on given page will be offered - see Page Targeting.)

If the tour is available, you can immedi…

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 element on the target page, just move your mouse c…