Learn
Learn
Close

They Ask, You Answer

A revolutionary approach to inbound sales, content marketing, and today’s digital consumer.

Learn MoreLearn More

Free Courses in IMPACT+

Dozens of sales, marketing, and content courses inside IMPACT+. Start learning now.

See all coursesSee all courses
Events
Events
Close
IMPACT+ Membership
IMPACT+ Membership
Close
Coaching & Implementation Services
Coaching & Implementation Services
Close

Services Overview

See how you can dramatically increase your inbound leads and sales.

Services Overview

Digital Sales and Marketing Mastery

Fast track your team’s success with IMPACT's most popular service.

Digital Sales and Marketing Mastery

Web Design

Launch a beautiful website that consistently generates leads and revenue.

Web Design

Virtual Sales Training

Equip your sales team with comprehensive training designed to help them close more deals in today's virtual-first world.

Virtual Sales Training

HubSpot Training & Implementation

Train your company to take ownership of HubSpot and get the most out of your investment.

HubSpot Training & Implementation

Case Studies

See dozens of examples of companies succeeding with Digital Sales and Marketing Mastery and They Ask, You Answer.

Case Studies
Become a Coach
Become a Coach
Close

What Is Google Tag Manager & When Do You Use It?

What Is Google Tag Manager & When Do You Use It? Blog Feature

Marc Amigone

Director of Sales, HubSpot Alumni, 8+ Years of Marketing & Business Development Experience

October 4th, 2019 min read

If you’re a marketer here in the back-end of 2019, you’ve probably had to deal with a tracking code or two in your time. Whether it’s for a marketing automation tool like HubSpot, a tracking pixel for an advertising platform like Facebook or Google Ads, or the code for behavior-tracking software like Lucky Orange, Hotjar, Crazy Egg, or even just Google Analytics, tracking codes are the street signs of the web — they’re everywhere and most people just take them for granted.

Tracking codes are so ubiquitous because they’re essential to the core functionality of all digital marketing: they enable all of the various software platforms marketers employ to track website visitors’ behavior.

Most marketers don’t think much about these tags beyond when they initially install them. Once we’re collecting the data from the tracking codes, they’re in set-it-and-forget-it mode — and we only really worry about them if something all of the sudden stops working.

You may be thinking, yup, sounds familiar, what’s wrong with doing things that way?

Well, first of all, what if I told you each of those javascript tracking codes you’ve installed costs valuable load time. Every time your browser has to deploy javascript when loading a page, it slows down your website slightly. If you’ve got 10 different tracking codes installed, all that script can really add up and make your website load time drag as much as 7-8 seconds (which has a deleterious effect on your SEO).

Secondly, not all marketers have the same technical expertise when it comes to manipulating code, even for simple tasks such as adding or removing snippets of javascript to a header.

If one tracking code doesn’t play nice with another, it could disrupt the data you’re collecting or, worse, temporarily prevent your website from loading altogether. What do you do if the person who regularly manages the technical side of your website is unavailable (or just charges you by the hour for everything they work on)?

What if I told you there was a tool that could deploy all of those tracking codes for you without you ever having to get into the code of your website, and without slowing down your site performance? Imagine it would let you activate and deactivate individual tracking codes, test them before they go live, and give you a deeper, more granular capability to trigger them in response to specific behaviors people exhibit on your website.

Sound like a useful tool, right? Well, the smart folks at Google agree with you, which is why they created Google Tag Manager!

Google Tag Manager (GTM) gives marketers three distinct capabilities:

  1. Manage and deploy tags (think: tracking codes like Facebook Pixel, Heatmapping, Google Analytics, or HubSpot)
  2. Manage triggers for those tags, or program-specific timings for when those tags fire or don’t fire
  3. Manage variables for those triggers or program-specific criteria for those tags to fire or not fire

One tracking code, easy management

GTM will make it a lot easier to install, test, and deploy tracking codes on your website. The more of these tracking codes you install, the more taxing it can be on your website performance, and the more value GTM provides. 

Instead of browsers having to deploy every javascript tracking code individually, they can deploy one tracking code and still get all the benefits from the variety of tags you have installed (saving you valuable load time).

Additionally, instead of installing all of those individual tags, you can just install the one GTM code and manage everything through its interface instead of breaking into the header tag again and again.

Beyond the time saved, it’s also a big help to have one centralized place with a running tab of which tracking codes are installed.

More trigger control

Triggers are specific instances that tell GTM when to fire those specific tracking codes. 

This is where GTM starts to flex its muscles a bit.

Let’s say you want to run an experiment and only want your behavior-tracking software to fire when someone visits a certain page. Or, maybe you want to measure what happens immediately after they do something very specific like watch a video, download a PDF, or see the results from a pricing calculator.

Using triggers in GTM, you can define these specific actions to allow for the desired tracking codes to fire.

Say a visitor watches a video on your pricing page and you’re hoping they click on the CTA that says ‘Request a Quote’ right after the video ends. With GTM triggers, you can program a behavior tracking software to fire and measure whether that’s happening or not.

You can also define negative triggers. For instance, if you want a tag to fire on every page on your site except for a specific few, you can tell GTM to prevent tags from firing on those specific URLs.

Using variables for greater detail

Tags define what tracking codes will fire, triggers define when they’ll fire, and variables go a level deeper to create more specific situations when a tag will fire. 

For instance, let’s say you’ve installed a behavior-tracking software tag and programmed it to fire when someone lands on a specific page, but you’d also like to measure what happens when someone lands on a page referred by a different specific page.

In other words, you're measuring what happens when someone exhibits a specific behavior you’re attempting to encourage on your website.

You can create a ‘referrer’ variable that gives you that extra level of granularity in your reporting.

How is GTM different than Google Analytics?

GTM is a tool for installing and configuring third-party code on your website, not for analyzing the data those tags collect.

GTM is designed and built to complement Google Analytics. All of the custom events you create in GTM are visible in Google Analytics once you configure what data you want to send to Google Analytics.

Should you install Google Tag Manager on your website?

Before you ultimately decide, see if you answer yes to any of the following questions:

  • Would you like to manage third-party tracking codes on your website without touching any code?
  • Would you like to reduce the load time of your website, improving SEO performance?
  • Would you like to collect data and run experiments around specific actions people take on your website?
  • Would you like to customize the data you send to Google Analytics?
  • Are you okay with learning how to use a new tool?

If you answered yes to any of the questions above, I would highly recommend leveraging Google Tag Manager. 

If you’re interested in exploring some resources to learn more about how to use GTM, here are a few great resources to check out:

As with most Google tools, there’s a bit of a learning curve involved, but don’t let that scare you. The more you learn, the more you’ll unleash the power of GTM and make marketing magic happen!

Want to learn more about digital sales and marketing?

Master digital sales and marketing when you join IMPACT+ for FREE. Gain instant access to exclusive courses and keynotes taught by Marcus Sheridan, Brian Halligan, Liz Moorehead, Ann Handley, David Cancel, Carina Duffy, Zach Basner, and more.

Sign up for free
Take a peek

Access hundreds of FREE courses and keynotes

Free Course
Digital Sales & Marketing Framework for Today’s Buyers
By: Marcus Sheridan
View Course Preview View Course Preview
Free Keynote
A New Way to Compete & Win
By: Brian Halligan
View Course Preview View Course Preview
Free Virtual Keynote
How To Genuinely Feel Confident, Be Likable, And Build Trust On Camera
By: Liz Moorehead
View Course Preview View Course Preview
Free Keynote
The Future of Marketing is Conversational​
By: David Cancel
View Course Preview View Course Preview
Free Deep Dive
HubSpot On a Budget: Getting Started with HubSpot Starter Hubs
By: Courtney Caldwell
View Course Preview View Course Preview
Free Course
Assignment Selling: Content is Your Greatest Sales Tool
By: Marcus Sheridan
View Course Preview View Course Preview
Free Keynote
The Big, Bold, Brave New World of Marketing​
By: Ann Handley
View Course Preview View Course Preview
Free Course
Investing in Incredible Digital Sales and Marketing Results
By: Chris Duprey
View Course Preview View Course Preview
Free Course
How To Show Your Content Makes Money With HubSpot Marketing and Sales Hubs
By: Liz Moorehead
View Course Preview View Course Preview
Free Virtual Keynote
The Visual Sale
By: Marcus Sheridan & Tyler Lessard
View Course Preview View Course Preview
Free Keynote
Marketing Tech: What’s Now, What’s Near and What’s Not Anytime Soon?​
By: Dharmesh Shah
View Course Preview View Course Preview
Free Course
Inbound Lead Generation & Conversion Optimization
By: Carina Duffy
View Course Preview View Course Preview
Free Virtual Keynote
Fundamentals of Videography: You Can Be a Great Videographer Too
By: Zach Basner
View Course Preview View Course Preview
Free Deep Dive
The Ultimate Customer Service Toolkit for Any Budget
By: Andriti Gulati
View Course Preview View Course Preview
Free Course
6 Topics Subject Matter Experts Need to Address
By: Kevin Phillips
View Course Preview View Course Preview
Free Keynote
Fanocracy: The Power of Making Business Personal​
By: David Meerman Scott
View Course Preview View Course Preview
Free Keynote
The Power of Pillar Content
By: Liz Moorehead
View Course Preview View Course Preview
Free Keynote
SEO for the Future
By: Franco Valentino
View Course Preview View Course Preview
Free Course
Fundamentals of Social Media Marketing
By: Stephanie Baiocchi
View Course Preview View Course Preview
Free Deep Dive
A Practical Guide To Video Graphics
By: Colton Trcic
View Course Preview View Course Preview
Free Session
How To Get Your Community To Know, Like, And Trust You With Video
By: Marki Lemons Rhyal
View Course Preview View Course Preview
Free Course
Video Sales and Marketing Strategy
By: Zach Basner
View Course Preview View Course Preview
Here Are Some Related Articles You May Find Interesting

Want to Contribute Content to impactplus.com? Click Here.

IMPACT+ Sign Up
A FREE online learning community with on-demand courses, hundreds of expert-led sessions, thousands of your peers ready to support you, and much more.
Check it out
Hundreds of courses and recorded keynotes, completely FREE
Check it out
Access hundreds of digital sales and marketing courses and recorded keynotes, completely FREE