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 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 > GTM Ecommerce (PRO) and then check the
Enable Theme Validator? checkbox.
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 Handcraft Byte support can use the Theme Validator.
uuid_hash and validator request to firstname.lastname@example.org. 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.