Skip to main content

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 cursor around and elements will automatically highlight as you hover above them. Once you find the right element just click and the selector will be saved to the clipboard.


5. Now you can return to the tour editor and paste (CTRL+V) the selector from the clipboard to the "Element" field.

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




2. Right-click on the element you want to find a selector for and choose the "Inspect" option.

3. The inspector panel will appear with the highlighted element. It should look similar to the picture below:




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.


5. The element selector is copied to the clipboard. Now, return to Usetiful administration - paste the value from clipboard (CTRL + V) to the "Element" field in the configuration of the given tour step.



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.


Popular posts from this blog

How the 40% Rule Can Help You Find and Identify Product-Market Fit

  Finding product-market fit (PMF) is the Holy Grail for startup founders. Figuring out if sustainable demand for your product exists is something you want to do as early as possible so you can change course or make the necessary adjustments. However, many startups only realize they don’t have PMF well after going to market.  This article will look at how you can identify and achieve PMF, even if things aren’t quite going as expected.  Image by creativeart on Freepik What is the 40% Rule? Sean Ellis is well-known in the software development space. In a legendary 2010 blog post, he coined the term “growth hacking ,” which revolutionized how founders think about product marketing. As if that were not enough, he also popularised the Sean Ellis Rule, also known as the 40% Rule. The 40% Rule is very straightforward. All it requires is asking your users one simple question: "How would you feel if you could no longer use our product?" The respondents then have a choice of one of...

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

Top alternatives to Appcues

Appcues is a DAP software company that was founded in 2013 in the US. It presents itself as a no-code platform and features flows (as they call the product tours), hotspots, onboarding checklists and NPS surveys. Having said this, there are still several quite substantial reasons to consider an alternative for Appcues. In this article, I will discuss these reasons as well as present top 3 alternatives for you to choose from.