Lucid Brands Home
©Lucid Brands 2026
Website Analytics & Reporting resource article: Google Tag Manager: A Plain English Guide

Google Tag Manager: A Plain English Guide

Google Tag Manager (GTM) is a free tool that lets you add and manage tracking codes on your website, such as Google Analytics, Google Ads conversions and the Meta Pixel, without editing your site's code each time. You install one GTM snippet once, then add, test and publish tags from a dashboard. It saves developer time and makes tracking easier to fix.

What is Google Tag Manager?

Most websites need several small pieces of code (tags) to measure visitors and ad results. Without GTM, each one is pasted into the site's code by hand. With GTM, all of them live in one place called a container. Benefits:

  • No code edits for each new tag.
  • Preview and debug mode to test before going live.
  • Version history so you can roll back a mistake.
  • Built in templates for Google and many third party tools.
  • Faster pages in many cases, since tags load asynchronously. Google highlights Airbnb as an example, reporting that Tag Manager helped it raise vendor data collection to 90%.

Tags, triggers and variables explained

PartWhat it isExample
ContainerThe box that holds everything for one website or appyourbusiness.com
TagA piece of code that sends data somewhereGA4 event, Google Ads conversion, Meta Pixel
TriggerThe rule for when a tag firesPage view, form submit, button click
VariableA value a tag or trigger needsPage URL, click text, order total
Data layerA behind the scenes list of information your site shares with GTMProduct name, price, lead type
A simple way to remember it: the tag is what happens, the trigger is when, and variables are the details.

Google Tag Manager vs Google Analytics 4

Google Tag ManagerGoogle Analytics 4
JobDelivers tracking codes to your siteStores and reports on visitor data
Shows reports?NoYes
CostFreeFree (360 version is paid)
Works alone?No, it sends data to other toolsYes, with its own tag
GTM is the delivery truck. GA4 is the warehouse and the reports. Many sites use GTM to send data to GA4.

Do you need Google Tag Manager?

You probably need it if:

  • You run ads on Google, Meta or other platforms and track conversions.
  • You want to track form submissions, phone clicks or button clicks.
  • More than one person or agency manages your tracking. You may not need it if your site only uses GA4 and your website platform has a built in integration. Even then, GTM makes future changes easier.

How to set up Google Tag Manager in eight steps

  1. Create an account at tagmanager.google.com with your business Google login.
  2. Create a container for your website and choose Web.
  3. Copy the two code snippets GTM gives you.
  4. Install them: the first snippet as high as possible in the <head> of every page, the second right after the opening <body> tag.
  5. Add your first tag. Choose Google tag, paste your GA4 Measurement ID, and set the trigger to Initialization, All Pages.
  6. Preview. Click Preview, enter your site URL and confirm the tag fires in Tag Assistant.
  7. Publish. Click Submit, name the version (for example, "GA4 base tag") and publish.
  8. Check GA4. Open the Realtime report and confirm you see your own visit.
PlatformHow to install
WordPressUse a GTM plugin or Google's Site Kit plugin, or add the snippets to your theme header
ShopifyAdd the snippet to your theme for storefront pages. Use Shopify's Customer Events (custom pixels) for checkout tracking
WebflowPaste the snippets into Project Settings, Custom Code (head and body)
Squarespace and WixUse their header code injection or built in Google integrations
Custom or Lovable sitesAdd the snippets to the main HTML template (index.html)

The first five tags to add

  1. GA4 Google tag on all pages.
  2. GA4 events for form submissions, phone number clicks and key button clicks.
  3. Google Ads conversion tag for leads or purchases, plus the Conversion Linker.
  4. Meta Pixel for Facebook and Instagram ads. See our guide to Facebook advertising.
  5. Call tracking script if you use one, so phone leads are counted. Then decide which actions are your key results. Our guide to what is a KPI helps you pick them.

If you have visitors from the EU, UK or other regions with consent laws, you need a cookie banner that works with Google Consent Mode. Since March 2024, Google requires Consent Mode v2 for advertisers using personalized ads with users in the European Economic Area. In GTM:

  • Connect a consent management platform (many have GTM templates).
  • Set default consent states before any tags fire.
  • Use built in consent checks on each tag. US state privacy laws are also expanding. Follow your legal advisor's guidance on what your site needs.

Server side tagging, in brief

Standard GTM runs in the visitor's browser. Server side GTM sends data to your own cloud server first, then on to tools like GA4 and Meta. Benefits: fewer browser scripts, more control over what data is shared, and more reliable tracking when browsers block third party cookies. Costs: hosting fees and technical setup. It suits businesses with large ad budgets or strict data needs.

Common mistakes

  • Installing GA4 directly and through GTM, which double counts visits.
  • Publishing without using Preview.
  • Vague tag names. Use a pattern like "GA4 Event, Form Submit, Contact."
  • Leaving old agencies or employees with publish access.
  • Tracking thank you page views that can be reloaded, which inflates conversions.
  • No one on your team owning the container login.

FAQ

What is the difference between GA4 and GTM?

GA4 collects and reports on visitor data. GTM is the tool that places and manages tracking codes, including GA4's, on your site. GTM has no reports of its own. Most businesses use both together.

Is Google Tag Manager necessary?

Not strictly. A basic site can run GA4 alone. GTM becomes valuable when you run ads, track several actions like forms and calls, or have more than one person managing tracking, because it keeps every tag in one place.

Is Google Tag Manager a tracker?

GTM itself does not collect personal data. It loads other tags, such as GA4 or the Meta Pixel, that do. That is why consent settings belong in GTM, so tracking tags fire only when allowed.

How can I learn Google Tag Manager?

Start with Google's free Tag Manager help center and Skillshop courses. Then practice on your own site: install GA4, track one form submission, and use Preview mode until you are comfortable with tags, triggers and variables.

Is Google Tag Manager free?

Yes. The standard version is free. Tag Manager 360, part of Google Marketing Platform, is a paid version for large enterprises with extra workspaces and support. Moz notes the free version allows three workspaces.

Not sure your tracking is right?

Broken tracking is one of the most common problems we find in ad accounts. Lucid Brands' free paid media audit checks your tags, conversions and reporting so you know which numbers to trust.

Your path to lucidity

Get Started With a Free Website Audit

Not sure where to begin? Start with a free website audit. Our team analyzes your website's SEO, speed, content and user experience to identify what to improve first.