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)
When previewing the tour, you can now see the pointer displayed near the select element.
Use browser inspector
1. In your browser (ideally in Google Chrome or Firefox) navigate to the specific web page where the tour step should be linked to a page element.
We will use our demo site as an example. Let's say that we want to associate the tour step with the first picture on this page (the picture of London, top-left).
Note for Safari users: At this point you need to enable the Web Inspector (how to)
2. Right-click on the element you want to find a selector for and choose the "Inspect" option.
When you hover with the mouse cursor over the blue like in the inspector panel, your element is highlighted on the page. If you changed your mind and want to select a different element, you can hover over other rows in the inspector panel to find the right one.
4. Right-click on the blue row in the inspector panel and choose the "Copy > Copy selector" option.
6. Save the tour settings. The appropriate step is now linked to the selected element on your site (first image in our examples).
When previewing the tour, we can now see the pointer displayed near the selected element.
Target elements using CSS selectors (Advanced)
Do you need a more flexible way to target your elements? You can directly use CSS selectors - find more here.