Two of the most popular digital marketing tools are better together.
Two of the most popular tools used by digital marketers today are Google Analytics and Google Tag Manager. Because they are used in conjunction with one another, people are often confused about the differences between them.
Google Analytics is a free web analytics tool that lets you track important metrics for your website like where do your users come from, who are they, and what do they do once on your site. It also provides a user interface for digital marketers to analyze this information through built-in and customizable reports.
Google Tag Manager, by contrast, is not an analytics tool. Google Tag Manager is a tag management system.
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXX-1"></script>
window.dataLayer = window.dataLayer || ;
gtag('js', new Date());
Just like IF THIS THEN THAT makes it easy to trigger integrations based on actions
- IF I leave the house, THEN turn off the lights,
Google Tag Manager makes it easy to trigger tags based on user actions on your site
- IF the user loads a new page THEN fire the Google Analytics pageview tag.
As this demonstrates, you won’t choose between Google Analytics OR Google Tag Manager, you will choose whether or not to use Google Tag Manager to IMPLEMENT to Google Analytics.
Without Google Tag Manager you will have to hardcode Google Analytics directly in your website’s code. So the only part of Analytics that Tag Manager replaces is the hardcoded snippets.
Why Use Tag Manager
Unless you already have many hardcoded Analytics tags you should almost certainly use Tag Manager to implement Analytics. Here’s why.
While hardcoded Analytics may not be a problem for simple, static webpages, it can cause complications and issues for dynamic websites with lots of user interactions.
With Tag Manager, you set up your Google Analytics ecommerce events using its simple user-interface. For instance, you could create a trigger based on an Add to Cart button click like so:
Avoiding Dev Cycles
With hardcoded Analytics, analytics changes are part of the “dev cycle”. Every time you want to make a change to your analytics, to track something new, or change the way an event is recorded, you’ll have to ask the development team to make the changes in code and release the new code to production.
Tag Manager once set up, requires no such coding changes. You can just make the changes you want directly in the Tag Manager user interface.
Tag Manager also provides a simple preview mode that makes it easy to debug changes as you make them without affecting the live site.
Data Consistency Across Tools
Google Tag Manager works with all marketing tools, not just Google Analytics.
That can easily lead to data discrepancies between the tools, even between related tools like Google Analytics and Google Ads.
However, with Google Tag Manager we can reuse the same trigger we created for our Google Analytics tags for the other tools, ensuring data consistency.
With hardcoded Analytics, the source of your analytics will be buried in the code of your website. That makes it very difficult for even coders to track down why a tag fires.
But Tag Manager’s interface makes it clear to all what triggers cause what tags. That makes it easier to update and grow your analytics as you grow your website. It also makes it easier to debug for everyone, including new employees and/or consultants, making it easy to expand your analytics as you expand your team.
While Tag Manager has built-in tags for many tools like Google Analytics, Ads, and Hotjar, it still allows custom tags either through Custom Templates or Custom HTML tags that you can use to cover all possible needs.
There’s an entire community of Tag Manager experts out there. These experts are constantly coming up with new ways to leverage Tag Manager. Furthermore, Tag Manager allows you to export and import containers so these experts (or you) can actually create ready-made recipes that can be imported directly into your containers.
That can be particularly important for organizations that manage multiple, similar websites. You can configure Tag Manager once and simply export it to all of your other sites.
Finally, you don’t actually have to make a choice between hardcoded Analytics and Tag Manager. If you already have hardcoded Analytics tags in place or use a built-in third-party Analytics plugin like Shopify’s, you can add Tag Manager for new tags, creating a hybrid solution.
That’s because, at the end of the day, both hardcoded Analytics and Tag Manager send the exact same data Analytics. The only difference between the two is how you set it up, with code-level changes or a clean, easy to understand user-interface.
When setting up a new website or revamping your analytics you’ll almost certainly want to use Google Analytics to track your site’s performance. Check out this checklist of best practices for using Google Analytics. Fortunately, Tag Manager makes it easier than ever to set up Google Analytics.
So don’t feel like you have to choose between Google Analytics and Tag Manager. You should, in fact, use both.
Need help collecting all your marketing spend and performance data into automated reports and dashboards? Improvado can help. Click here to learn more.