Using the new Google Tag Manager

The latest incarnation of the Google Tag Manager make it a must-do to implement for Universal Analytics. Easy to use, easy to deploy, and it make a whole load of analytics features a dream to implement. For instance, in the old days we’d put our analytics code into the site, then add event tracking code like: ga(‘send’, ‘event’, ‘button’, ‘click’, ‘nav buttons’, 4); to a link. With GTM, we have no need to add any other code beyond the overarching GTM code. Everything else is done within the Tag Manager console.   Here’s a quick step-by-step guide. 1. Create an account and a per-website Container, and add the GTM code to the top of the pages. 2. Create the general Universal Analytics tag. Tags are the things that get fired by triggers, so the one tag you need firing across the site is this tag, so make sure the Trigger is set to fire on ‘All Pages’! 3. Then for more specific actions, we need to create Trigger-Tag pairs: in other words, a Trigger to fire a Tag. ┬áSo set up a Trigger that fires when there’s a click of a link to an external website, and a associated Tag that makes this trigger create an Event. 4. Finally, don’t forget to Publish!   More to...