Real-time testing Google Tag Manager rules with Google Analytics reports
The method uses Google Analytics’ real-time reporting feature paired with a specially formatted tracking hit fired into Google Analytics.
Video: Real-Time Testing Google Tag Manager
Here’s a screencast of the method in practice that I put together. Read below for the details to give it a try yourself.
Example Code for Real-Time Testing GTM in Google Analytics
Here is the GA tracking hit format to use in your custom image tag.
Also be sure to update the UA number highlighted above to a dedicated Web Property under your Ga account that you’ll use ONLY for this testing, and enable the “cachebusting” feature and use “utmhid” as the parameter for it.
Let me know your feedback in comments! If you need help with testing or onboarding Google Tag Manager let us know – our team is here to help!