How to test my Google Analytics tag?

1/ By using the datalayer plugin



2/ By using real time overview in Google Analytics

To check the correct functioning of the tag on your site, you can observe in real time the display of the events in your Google Analytics account. To do this:





"Realtime" reports let you monitor activity on your site as it happens.

For example:





If your theme uses other HTML elements, specify them by replacing the default ones.

For example, if instead of using the HTML element "button.wishlist-button-add", your theme uses the custom element "button.wishlist-button", then replace ".button.wishlist-button-add" by "button.wishlist-button" in the add-to-cart event field:



Don't forget to save.

Other FAQs in this category