Google tag manager
What do you do when…You create a tag via Google Tag Manager, use the GTM previewer to debug it, GTM tells you “that’s working!” – but when you publish the new container and try to view the results of the tag, it just isn’t pulling in the right data or any data at all? … [Read more...] about Why doesn’t Google Analytics data match Google Tag Manager previewer when debugging?
Go here to access the custom campaign builder that we use. Enter the appropriate information in the form. You have to enter the “Website URL” and “Campaign Source.” After that, you can enter anything you want into any of the remaining fields…you can also leave fields blank. Just remember your strategy (from above) and be consistent every time you create one of these. Here’s an example: Take that auto-generated URL and use it on your site as a link to your clients (or whomever’s) site. DONE! Viewing the Data Now, in your analytics, you can go to Behavior >> Events >>Event Label and use the quick filter box to isolate any of the URL click exits from your site. In our case from above, we would probably enter “Name Of Our Client” to only show links that went from Netvantage Marketing to one of our clients. … [Read more...] about Tracking Website Exits Using Google Tag Manager
As cool as this is, however, I’d like to see GTM’s Preview mode overhauled with persistence across page loads. The ability to inspect the contents of dataLayer pushes, review the data model and variables at a specific point in time, and check your tags and their associated triggering conditions across separate pages would be really empowering. I’m envisaging this as a ‘Record’ feature, somewhat like Google Tag Assistant – running a recording would retain Preview Mode data in local storage, making it possible to debug an entire journey across multiple page loads. … [Read more...] about A Google Tag Manager Wishlist for 2019 via Builtvisible
Even further, web analytics thought leader Simo Ahava has a few articles on how to use CSS selectors to up your GTM game. The ability to leverage CSS selectors in GTM is one of the most powerful features of the platform, so I hope these examples come in handy for you! Let me know in the comments below. … [Read more...] about How to Use CSS Selectors with Google Tag Manager