Introduction to Google Tag Manager
Google Tag Manager is a free tool from Google that helps you manage tags on your website or app without needing a developer every time. Tags are small pieces of code that collect data, like tracking page views or when someone clicks a button. This guide is for UK ecommerce and lead generation businesses. By the end, you will understand how Google Tag Manager works and how to use it to improve your marketing and website tracking.
What is Google Tag Manager?
Google Tag Manager, often called GTM, is a system that controls tags — snippets of code added to a website to send data to tools like Google Analytics or Facebook Ads. Instead of adding each tag’s code manually to your website, you add them via GTM’s interface and publish changes with a few clicks. This reduces errors and makes tag management faster and simpler.
How Google Tag Manager works
You install one main GTM container code on your website. This container loads all the other tags you set up inside GTM. Tags track actions like page views, clicks, form submissions, or sales transactions. You decide when tags fire by setting triggers — rules saying on which pages or user actions a tag should activate.
Because GTM loads tags dynamically, you can add or change tags without touching the website code repeatedly. You only update GTM’s container and publish changes there.
How to use Google Tag Manager
Here’s a step-by-step process to use GTM:
- Create a Google Tag Manager account at tagmanager.google.com.
- Create a container (usually named after your website) inside GTM.
- Add the GTM container code snippets to your website’s HTML, usually in the header and body sections.
- In GTM, add tags for tools you want to use (like Google Analytics or Facebook Pixel).
- Set triggers for when each tag should fire (all page views, clicks on specific buttons, or form completions).
- Use preview mode to test your setup without publishing.
- Once tested, publish your container to make changes live.
You don’t need coding skills but some knowledge of your website’s platform (WordPress, Shopify, custom code) helps with installing container code.
Is Google Tag Manager free?
Yes, Google Tag Manager is completely free for all businesses. There’s no paid version for core GTM features. You only pay for the marketing or analytics services you connect to GTM, like Google Analytics or Google Ads, based on those services’ pricing. GTM removes the hassle and costs of manually updating website code every time you add tracking.
What is Google Tag Manager tracker?
A Google Tag Manager tracker refers to tags or sets of tags that collect data about user behaviour on your website. These trackers send information such as page visits, clicks, completed purchases, or lead form submissions to analytics or advertising platforms.
For example, a tracker could be a Google Analytics event tag that records when someone clicks a "Buy Now" button. Managing trackers with GTM means all your tracking happens in one place, making updates easier and more consistent.
How to test Google Tag Manager
Testing GTM setups before publishing is essential to avoid inaccurate data collection. GTM includes a Preview and Debug mode that lets you see which tags fire on your website as you interact with it.
To test:
- Click 'Preview' in the GTM interface.
- Open your website in a new tab; a debug panel appears at the bottom showing active tags and triggers.
- Perform actions like loading pages, clicking buttons, submitting forms.
- Check which tags fire and confirm they match your intended triggers.
- Use browser tools or network monitors to see tag requests.
- Verify data arrives in connected tools, for example, Google Analytics’ real-time reports.
Testing regularly prevents tracking errors.
Google Tag Manager audit checklist
A regular audit keeps tracking reliable. Here’s what to check:
- Is the GTM container code correctly installed on every site page?
- Are all tags still relevant and working as intended?
- Do triggers match the actions you want to track?
- Are there duplicate or conflicting tags sending duplicate data?
- Has your setup been tested in Preview mode after changes?
- Is data flowing correctly to tools like Google Analytics and Ads?
- Are user permissions in GTM limited to trusted people only?
- Are you complying with GDPR and UK data protection rules by managing personal data collection?
Is Google Tag Manager safe?
Google Tag Manager is safe when used correctly. GTM itself is just a container for tags and does not collect data unless tags do. Risks come from adding untrusted or malicious tags or giving editing and publishing access to unknown people.
Limit GTM users to trusted individuals with suitable permissions. Only add verified tags from reputable sources. Manage data collection carefully to comply with laws like GDPR. If set up properly, GTM enhances security by centralising tag controls instead of multiple snippets spread across code.
Common mistakes with Google Tag Manager
- Installing more than one GTM container on a site, causing duplicate tracking.
- Not testing tags before publishing, leading to missing or excess data.
- Using triggers that are too broad or too narrow.
- Giving publish permissions to too many users.
- Forgetting to manage consent for personal data and compliance with GDPR.
- Leaving old or unused tags active, cluttering your setup.
Worked example: Tracking leads on a UK ecommerce website
Imagine you own a UK online gift shop and want to track newsletter sign-ups as leads.
First, you install the GTM container code on your Shopify website. Then:
- Create a Google Analytics GA4 event tag named “sign_up”.
- Set the trigger to fire this tag only when the 'Subscribe' button is clicked.
- Use GTM Preview mode to test the tag fires correctly when the button is clicked.
- Publish the container when confirmed working.
Now, if your shop has 1,000 monthly visitors and 50 sign-ups, you have a 5% conversion rate to improve with marketing.
This data helps plan ad spend and content strategies. You could also use a free ROAS (Return on Ad Spend) calculator like Free ROAS and break-even ROAS calculator to measure campaign profitability.
What to do next
Start by creating your GTM account and adding its container code to your website this week. Set up a basic Google Analytics tag with an 'All Pages' trigger and test it in Preview mode.
Check your site speed after adding GTM with tools like the Free site speed checker and revenue loss calculator to ensure no slowdown.
If you want guidance or a full GTM audit, Get in touch with Anthony McGrath.
For a clear walkthrough, watch this video.
What it means for you
Google Tag Manager gives you control over tracking without constant developer help. It simplifies managing tags for analytics and ads in one place, reduces errors, and speeds up changes. Use GTM to track meaningful user actions, test your setup before going live, and manage access carefully. This leads to better marketing decisions backed by accurate, reliable data.

