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 User Onboarding Checklists will help your User Adoption

User onboarding checklists are a crucial tool for developers who are launching products or want to improve product adoption.   What are User Onboarding Checklists? User onboarding checklists are a way to onboard new users. This digital adoption strategy works by splitting the onboarding experience into manageable atomic pieces. By making a checklist with various tasks, you can ensure that users are guided towards getting instant value from your product.     How to Build an Onboarding Checklist? Onboarding checklists are easy to build with no-code tools like Usetiful . By using an onboarding checklist template, your product can benefit from greater user engagement and acquisition. Benefits of User Onboarding The most common reason users abandon a digital product is: a) They can't understand how to use it b) The products value is not clear to them   A good user onboarding process directly addresses both of these issues. Any worthwhile digital adoption strategy needs to assist and dir

Build your first Welcome Message

Why Welcome message? Welcome message has a great impact on how users perceive your application - you can set up a very friendly and human tone of conversation. On top of that - it is really easy to create one with Usetiful! Benefits: Introduce your product from human perspective and let users know you appreciate them Activate your users with call-to-action  Get your Usetiful ready for more complex opportunities Build the modal In the Overview menu, click on " Add tour " Tour name - Give your Welcome message a name so you can find it later Let's keep it simple - page targeting should remain "All pages", trigger should remain to "Launch automatically". You can change these settings anytime later. Click " Continue ". Usetiful creates the first example modal for you. Click inside of the modal and update the content! Pro tip: Include pictures or video! Buttons - your call to action Usetiful allows you to set up actio

User onboarding best practices

" You will never get a second chance to make a first impression. " When people see your product or your new feature for the first time, the success depends on the first impression.