You must verify any CSS selector path you have used to create test goals. To verify if the CSS selector path is defined correctly, you can use the Developer tool of the browser.
NOTE: To know how to access the developer tool in chrome, refer to
Open Chrome DevTools.
- Run vwo_$('CSS path') in the console of the Developer tool of the browser.
- Expand the result displayed by executing vwo_$('CSS path').
- Point to an element on the page, and then you will notice that the element gets highlighted. This highlighting is a confirmation that the CSS selector for the element is correct and can be used for defining test goals.
- To specify a class or element ID for setting up click element goals, enter the class name as .class-name (with a dot(.)) and an ID as #ID (with a Hash(#))