Tracking what people do on your website shouldn’t feel like detective work. But for many businesses, that’s exactly what it is. You know customers are clicking, scrolling, maybe even filling in forms, but where and why often remain a mystery.

Enter Google Tag Manager (GTM): the free tool that helps you track user behaviour, measure goals more accurately, and unlock insights into how people actually use your site.

If you’ve heard of GTM but never quite understood what it does (or assumed it was “too technical”), this guide is for you. By the end, you’ll know what GTM is, how it works, and how to set it up, plus a few easy wins for tracking the actions that matter to your business.

What is Google Tag Manager?

At its simplest, GTM is a tag management system. Tags are little snippets of code that track behaviour, things like clicks, form submissions, or video plays. Instead of hard-coding them into your website, GTM lets you manage them in a single interface.

Think of GTM as a control room. Yes, you can flip a few switches yourself, but without the right setup, you’ll probably just be turning the lights on and off. To get meaningful insights (and avoid messy data), it pays to have someone who knows which buttons matter.

Why bother? Three reasons:

  1. Speed: No more waiting for the next dev sprint.
  2. Accuracy: You control exactly what’s being tracked.
  3. Flexibility: Want to test a new ad pixel? Set up a scroll tracker? Try a heatmap? All doable from GTM.

Google’s own intro to GTM is a good primer if you want to check the official word.

How does Google Tag Manager work?

GTM runs on three simple building blocks:

  • Tags: The bits of code that send data to tools like Google Analytics or Ads.
  • Triggers: The rules that tell a tag when to fire (e.g. “fire this tag when someone clicks the contact button”).
  • Variables: The extra details you can capture (e.g. “which button was clicked”).

Put together, they look like this:

When a visitor clicks the “Download brochure” button (trigger), send an event called “Brochure Download” (tag) and capture the page URL (variable).

That’s it. GTM acts as the middleman between your website and your analytics tools, catching behaviour and sending it to wherever you need it logged.

Setting up Google Tag Manager

Getting started with GTM is easier than most people expect. Here’s the beginner’s roadmap:

 1. Create a GTM account and container

  • Go to tagmanager.google.com.
  • Create an account (use your business name).
  • Create a “container” (usually your website domain).

GTM account

An example of how your account will appear on Google Tag Manager

2. Install the container code

  • GTM gives you two snippets of code to paste into your website: one in the <head>, one in the <body>.
  • If you use a CMS like WordPress, Shopify, or Wix, there are plugins or settings to drop this in without touching code.

gtm code on a website

An example of the code to put on your site

3. Add users if needed

  • You can give your agency, developer, or colleagues access with role-based permissions.

4. Check it works

  • Use the GTM Preview mode to make sure your container is firing.

That’s the foundation. From here, you can start adding your first tags.

GTM preview mode

When you press preview, it will ask you to put your site URL that you want to check.

Tracking user behaviour with GTM

Now for the fun part: turning anonymous browsing into real insights. Here are some easy things to track as a beginner:

  • Button clicks: Want to know how many people actually click ‘Contact Us’ or ‘Add to Basket’? GTM lets you create a Click Trigger for those buttons. Usually by targeting their unique ID or CSS class. Simple in theory, but in practice it often needs careful setup to avoid double-counting or missed clicks.
  • Form submissions: Perfect for lead generation. Track whether people complete your enquiry form, not just land on the page.
  • Scroll depth: Measure how far down a page people scroll. Useful for blogs and landing pages.
  • Video plays: See if people are engaging with that explainer video you invested in.

All of these can be set up with GTM tags and sent straight into Google Analytics 4 (GA4) for reporting.

Tracking goals with more accuracy

One of the biggest misconceptions about Google Analytics is that it “tracks everything out of the box.” It doesn’t.

Yes, GA4 can automatically capture some events (like pageviews or file downloads). But if you want to know whether people are taking your specific actions, filling a form, clicking a key CTA, using your calculator, you’ll need to define those goals yourself.

GTM makes this much easier. You can:

  • Define custom events (“Brochure Download,” “Form Submit”).
  • Send those events to GA4.
  • Mark them as conversions in GA4 so they appear in your reports.

That way, you’re not just measuring traffic, but actual outcomes tied to your business goals.

Four common GTM mistakes to avoid

Even beginners can get tripped up by GTM. Watch out for these pitfalls:

  • Too many tags, no structure: It’s tempting to add everything at once. Instead, organise tags by naming them clearly and consistently.
  • Not using Preview mode: Always test before publishing. GTM makes it easy to see what fires and when.
  • Forgetting to publish: Setting up tags isn’t enough, you need to hit “Submit” to push changes live.
  • Duplicate tracking: Make sure you’re not firing the same GA4 tag twice (it happens).

Where to go next

Once you’ve mastered the basics, GTM can take you further. A few teasers:

  • Schema markup: Add structured data to your site via GTM (handy if you can’t edit code directly).
  • Cross-domain tracking: If you have multiple sites or subdomains, GTM can help unify user journeys.
  • Custom events: Capture micro-behaviours that matter to your business, from clicks on FAQs to usage of an interactive tool.

These are more advanced, but the beauty of GTM is you don’t have to learn it all at once. Start small, get confident, then layer in complexity.

Conclusion

Understanding user behaviour isn’t just about traffic, it’s about actions. Google Tag Manager gives you the tools to capture those actions without waiting for a developer or cluttering your site with code.

Start with the basics: set up your container, track a few key behaviours, and link them to your business goals. From there, GTM becomes less of a technical tool and more of a business ally, helping you see not just who is on your site, but what they’re really doing.

And if you’re ready to move beyond the basics into schema, advanced tracking, and cross-domain insights, Verkeer can help you scale GTM into a strategy that gives your GA4 analytics the clarity (and accuracy) you need to grow.

Talk to one of our experts

Contact Us