Debug mode can be enabled to see GA processes in firebug console log:

image122

Then, in firebug you will see an GA event log & error messages:

image123

This script can now be triggered automatically in preview and debug mode:

image124

GTM will validate JavaScript within customHTML whenever a version is created, but if you want to enable inline validation this free chrome plugin can be installed here:

image125

Tip: Your container version number is embedded in the source of gtm.js – this is helpful when you’re not sure which version you are testing:

image126

Tip: You can also output the container number into a customDimension using this new macro.

image127

Also try this chrome plugin called dataSlayer for validating the dataLayer:

https://chrome.google.com/webstore/detail/dataslayer/ikbablmmjldhamhcldjjigniffkkjgpo

image128

Tip: There is a useful blog post about other methods of GTM debugging & troubleshooting here.

0117 3361103