Skip to primary navigation Skip to content Skip to footer

Level Up Your Analytics: Get to Know Google Tag Manager

Last updated on August 19, 2021
7 minute read
Key Takeaways

  • Tags are snippets of code used to collect data on your website.
  • GTM makes it easier to create and implement tags.
  • Get a full picture of your audience and how they interact with your site.
Categories

Skill Level

Advanced
Actions

If you do any tracking on your website or social media profiles (using tools like Google Analytics and Facebook Pixel), you’re probably familiar with tags. These snippets of code help you collect data by specifying the information you want to track. For example, you can use them to learn how long users are spending on a page of your site, what they clicked on, and what actions they took, such as filling out a form. 

Tags are extremely useful when it comes to understanding how customers interact with your business online, but if you’re not a web developer, they can be tedious and confusing. Enter Google Tag Manager (GTM). This tag management system codes and embeds tags on your website for you, making it easier to collect data and set triggers for events such as: 

  • Scroll depth (how far down the page a user scrolls on your site)
  • Click tracking 
  • Form submissions 
  • Affiliate sales 
  • Conversion tracking
  • Bounce rate 
  • And a lot more 

Think of the Content Management System (CMS) you use for your website or blog, such as WordPress or Wix. Instead of manually coding everything, you enter the content into the user interface and the system does the coding for you. Google Tag Manager works in a similar way after you embed a one-time code on your website. 

Some benefits of using GTM include: 

  • Get more accurate data that provides a full picture of your online audience. 
  • Quickly implement tags, even if you’re not a developer. 
  • Reduce the likelihood of human error when implementing tags. 
  • Have full control over the data you track for your marketing initiatives.
  • The small business version of Tag Manager is free! 

While using Tag Manager is much easier than manually coding and embedding tags, it still requires some technical knowledge of Google Analytics as well as Google Ads, Facebook Pixel, or any other third parties that you plan to use.

Google’s video series on Tag Manager is a great place to start. 

Before you dive in, there are a few terms you’ll need to know. 

Tag: A snippet of code that allows you to specify what you want to track

Trigger: This tells GTM when to fire a tag, such as when a user lands on a page, clicks on a link, or takes some other action. 

Variable: Think back to those high school math classes — a variable is a placeholder symbol that stands in for a value that will change. You can use variables in both tags and triggers to capture dynamic values or set filters that further specify when to fire a trigger. 

How to Set Up and Install Google Tag Manager 

  1. Go to Google Tag Manager.
  2. In “Account Setup,” add your company name and country. You can choose to anonymously share your data with Google if you wish.
  3. In “Container Setup,” specify the container name and the platform. (The container is the entity that contains all the tags, triggers, and variables you’ll use.
    1. You should name it after the website or app you will be tracking.)
    2. If you’re tracking your website, select “Web” as the platform.
      screenshot of google tag manager container setup
  4. Click “Create.” A terms of service window will pop up. Read through these, then click “Yes” if you accept the terms. 
  5. A window will pop up with your container snippet. Implement this in the head and body of your website code as instructed. (If you have a web developer, send them this code to implement for you.) 
  6. Once the container snippet is installed, you can start creating and publishing tags from the Tags menu. 

There’s certainly a learning curve when it comes to using tags, but they can come in handy when you’re executing marketing or Google Ads campaigns and need a robust understanding of your audience and how they interact with your website. 

Continue to deepen your knowledge of Google products with our guide to common Google Analytics mistakes and how to fix them

Related Guides