Analytics and tracking · Updated October 2026
What is Google Tag Manager, and how do you use it?
Google Tag Manager (GTM) is a free tool that lets you add tracking to your website from one dashboard instead of editing the site’s code each time. You install it once. After that, Google Analytics, Google Ads conversions, the Meta pixel and most other tracking can be added, tested and switched off inside GTM. This guide explains how it works and the few things most small businesses actually need from it.
The Three Building Blocks
Everything in GTM is a combination of these three. Once they make sense, the rest of the tool does too.
Tags
A tag is the piece of tracking you want to run: the Google tag for Analytics, a Google Ads conversion, a Meta pixel event. GTM has ready-made templates for the common ones, so you rarely write code.
Triggers
A trigger says when a tag runs: on every page, when a form is submitted, when someone taps a phone number, when a thank-you page loads. One trigger can fire several tags.
Variables
Variables are the details GTM reads at the moment something happens: the page address, the link that was clicked, the form ID. Triggers use them to decide whether to fire, and tags use them to send useful information along.
Setting It Up, Step by Step
A basic setup takes about an hour. The order matters less than testing before you publish.
Create an account and a container
Sign in at tagmanager.google.com with the Google account your business owns, not your designer’s. Create one container for your website.
Install the container on every page
GTM gives you two short snippets: one for the page head and one just after the body opens. On WordPress a plugin or your theme settings can add them. Install them once and leave them alone.
Add your Google tag
Create a Google tag with your Google Analytics measurement ID (it starts with G-) and set it to fire on all pages. If Analytics is also hard-coded on the site, remove one of them, or every visit is counted twice.
Track the actions that matter
Add tags for the things that mean a lead: a form submission, a tap on your phone number, a click on your email address, a quote request. These become key events in Analytics and conversions in Google Ads.
Test in Preview mode
Preview opens your site with Tag Assistant alongside it, showing which tags fired on each click. Submit your own form, tap your own phone link, and check that each tag fires once and only once.
Publish with a clear name
Nothing reaches the live site until you publish. Give each version a name such as “Add phone click tracking”. If something breaks, you can return to an earlier version in a minute.
What Most Small Businesses Should Track
You do not need fifty tags. These answer the question that matters: is the website bringing in work?
Form submissions
The most reliable way is to fire the tag when the thank-you page or thank-you message appears, not when the button is clicked, so failed or spam attempts are not counted.
Phone and email clicks
A Click trigger for links that start with tel: or mailto: shows how many people tried to call or email from the site, which is often more than the number who fill in a form.
Key pages
Visits to a pricing, booking or “request a quote” page show interest even when the visitor does not get in touch that day.
Ad conversions
If you run Google Ads, send the same lead events to Ads so it can learn which searches bring in customers, not just clicks.
Common Mistakes
Counting everything twice
Analytics installed both in the theme and in GTM doubles your visits and leads. Keep it in one place.
Never testing
A tag that looks right can fire on every click, or never. Preview mode exists for this. Test after every change and after every website update.
The wrong owner
GTM, Analytics and Ads should belong to your business, with your designer or agency added as a user. Our post who owns your website? explains why.
Is It Worth Doing Yourself?
If you are comfortable testing, the setup above is very doable. If you would rather spend the hour on your business, it is part of what we set up for clients: tracking that shows which pages and searches turn into calls and form leads, reported in plain English. For what to do with the numbers once you have them, see good website performance goals and our guide to Google Search Console.