How to use Theme Validator?

Go back to Documentation

In order to properly track eCommerce events, the Google Tag Manager for WooCommerce plugin uses WordPress hooks. Those hooks allow the plugin to capture products being shown to the end-user with all the details – such as price, variants, etc.

Some of the hooks are implemented at the theme level and it means that certain custom themes may not trigger all actions properly. Theme Validator is a feature of the Google Tag Manager for WooCommerce PRO plugin that helps to quickly and remotely validate if all required actions and filters are correctly implemented in the theme.

Currently, this is a manual process and requires our involvement but it allows us to check the theme without having access to the theme code.

If you have any concerns about not all events being correctly tracked follow the steps below, otherwise you are all good.

1. Enable Theme Validator in the settings

Go to the WP-Admin and then Settings > Google Tag Manager and then check the Enable Theme Validator? checkbox.

This image has an empty alt attribute; its file name is enabled-theme-validator-1-1024x564.png

That’s it!

2. Reach out to our support

Once the Theme Validator is enabled, copy the uuid_hash that is available next to the settings checkbox.

This is a hash of your plugin installation unique id and ensures that only you and Tag Concierge support can use the Theme Validator.

Send the uuid_hash and validator request to [email protected]. We will get back to you with validator results within 24 hours.

What the Theme Validator exactly does?

When enabled it allows to open your shop page with the uuid_hash, this will add additional HTML comments (not visible on the page, but only in the page HTML source) that contains information about the theme, triggered hooks, filters and some of the properties.

Leave a Comment