What is Google Tag Manager & Why Should You Use It?

What is Google Tag Manager & Why Should You Use It?

Tagging and tracking are imperative when it comes to digital marketing. They help businesses to analyze customer behavior, power machine learning, monitor website performance, fill sales funnels, measure revenue from different sources, and many more things. But with all the tools you use for business, there are often just as many tracking tags. Whether it’s a tag for Google Ads, Facebook or Instagram Ads, website usage, form submissions, or something else, it can be difficult to manage all of these tracking implementations on their own.

A strong measurement strategy coupled with Google Tag Manager can help you organize your tags, pixels, conversions, events, and goals to ensure that you are collecting the right data and are armed with the insights you need to make better data-driven business decisions.

To introduce you to Google Tag Manager, we’ll cover the following:

  1. What is Google Tag Manager
  2. What Are The Benefits Of Google Tag Manager?
  3. What is the difference between Google Analytics and Google Tag Manager?
  4. How Do You Set Up Google Tag Manager?
    • Create A GTM Account
    • Get Your GTM Code
    • Add GTM Script On Your Website
    • Add Tags To GTM
    • Preview & Publish GTM
  5. Google Tag Manager Course & Certification

What Is Google Tag Manager?

Google Tag Manager, also called GTM for short, is a website tag management system (TMS) developed by Google. A tag1 is any code, script, or pixel that sends data to some analytics or tracking system. GTM allows you to manage (add, remove, or update) these tags from a web interface instead of coding each tag on a website. 

Example GTM Workspace

Google Tag Manager is considered a “container tag,” so think of it like a shipping container that is simply used to make it easier to hold, store, and move other packages of code. You can also think of GTM as a house because it houses little snippets of code, such as your Google Analytics tag, as they go about their daily tracking activities.

Besides the tags, GTM also uses Triggers that give you expert control over when the tags fire. This makes it extremely easy to fire multiple tags at the same time, such as when you want to track form submission or purchase as a Google Analytics Event, Google Ads Conversion Action, and Facebook Event.

But you might be thinking that a developer can already fire those events, why should I use GTM instead?

What Are The Benefits Of Google Tag Manager?

Google Tag Manager has many benefits as we will see below, in fact, Google provides even more benefits and features of GTM2 than we will cover here. Below is just a small sampling of our favorite benefits of GTM and why you should be using it.

Easier To Manage Tags

Because Google Tag Manager is a tag management system, it only requires you to place code on your website once and then nearly everything after that can be managed from a single location with an easy to use user interface (UI). After the initial code is placed, you will save time and money since you no longer have to rely on a developer to place code on your website backend. Place one code, and you’re done.

Not only that, having all your tags in one place makes it easier to find them all instead of looking through all of your code and because GTM is a tag management system, it gives you better reliability and consistency when firing tags.

Easy To Use Web Interface

If you aren’t familiar with coding, Google Tag Manager’s user interface makes tagging so easy that even a non-developer can do it. Instead of coding each tag snippet individually, GTM lets you point and click from a list of pre-made variables, triggers, and tags3 which means you can tag your whole website without knowing any code. Simply choose a tag, add a trigger, and publish your changes. 

Pro Tip: Even though GTM makes it easier to add tags and events to your website, we highly recommend coming up with a scalable measurement strategy and using some standardized naming convention to make data analysis easier later on. Spend some time mapping out all of your most important website actions and where you are going to send that data before you start tagging. 

Test & Preview Changes

Properly tagging a website often takes some trial and error and GTM’s real-time Preview & Debug mode allows you to quickly diagnose your tags & triggers as you navigate your website. This makes it easy to see exactly what caused or prevented a tag from firing so you can spend less time testing & tagging. 

Use Of A Data Layer

Google Tag Manager is designed to work with an invisible Javascript data layer4 that sits between your website and your GTM container and allows you to easily, reliably, and consistently share information between the two. The Google Tag Manager dataLayer lets you store bits of information that can be used for dynamic variables within your triggers so you can pass things like your form ID or click URL or page path into your tags. 

Works with Non-Google tags

Whereas the Global Site Tag is compatible with only Google tags, such as the one you need to install Google Analytics, Google Tag Manager is compatible with 3rd party tags, like the Facebook Pixel. This is because Google Tag Manager uses the gtm.js library whereas the Global Site Tag (GST) uses the gtag.js library5, the Global Site Tag only helps you install Google tags which means using GTM is more future proofed for your business to grow.

Google Tag manager Is Free

Just like Google Analytics, implementing Google Tag Manager is free to everyone. Need we say more?

What Is The Difference Between Google Analytics And Google Tag Manager?

Google Analytics is a website tracking software that can be installed on your website by adding a code. Google Tag Manager (GTM) is a tag management solution that holds all of your website tags, like Google Analytics, in one “container tag” so you can manage them all from one place. 

The difference between Google Analytics and Google Tag Manager comes down to their purpose and functionality. In fact, since they both serve different purposes, we actually recommend using them in tandem by installing Google Tag Manager on your website and then installing Google Analytics through GTM’s web interface.

Another difference is that while Google Analytics tracks things users, time on site, bounce rate, etc, Google Tag Manager doesn’t track any metrics. Google Tag Manager’s sole purpose is to make it easier to install tags on your website without code and fire those tags more consistently and reliably. For more information on Google Analytics, check out our introduction to Google Analytics or, for set up instructions, take a look at how to set up Google Analytics.

How Do You Set Up Google Tag Manager?

Now that we’ve convinced you why you need to set up Google Tag Manager on your website, let’s take a look at how to do it. 

Create A Google Tag Manager Account

To set up GTM, the very first thing you need to do is is create a Google Tag Manager account.

  1. Navigate to google.com/tagmanager.
  2. Click Start For Free
  3. Sign into your Google account or Gmail
  4. Click Create Account
  5. Set up your account
    • Account name (usually your with your company’s name)
    • Country
    • Container name (usually your website domain)
    • Select platform type (choose Web for a website)
  6. Click Create.

Get Your Google Tag Manager Code

After you create your GTM account and GTM container, you will be presented with 2 snippets of code6.

GTM Code

The first code is the most important as it is the Javascript that will load your tags on most pages. The second code is optional, but recommended as it helps with tracking visitors that have disabled Javascript.

If you closed the window and need to find your GTM codes again, you can click Admin in the top left and then “Install Google Tag Manager” when the new screen appears.

				
					<!-- Google Tag Manager -->

<!-- End Google Tag Manager -->
				
			

				
					<!-- Google Tag Manager (noscript) -->

<!-- End Google Tag Manager (noscript) -->
				
			

Don’t forget to replace “GTM-XXXXXXX” in line 6 of the first code and line 2 of the second code with your actual GTM container ID.

Add GTM Script On Your Website

Now that you have both of your codes, it is time to add Google Tag Manager to your website. While the exact methodology varies by website platform, such as WordPress, Wix, or Shopify, the general process is as follows7.

“Place the