← Blog
Paid Ads

What Is Google Tag Manager: What It Is For, the Tags That Matter and the Thank-You Page

I

Isaac · Creative Director, Aphelion

Updated November 6, 2026 · 11 min read

When we audit a business's ads, the first question is not about the ads. It is: how do you know a lead came from there? Most of the time the honest answer is that nobody knows. The website has three different codes pasted by three different people, one of them counts every visit to the thank-you page as a sale, and nobody has checked in a year. exists to put order into that. This guide explains what it is, which tags really matter and how to set up the thank-you page, which is the piece that decides whether your numbers are true.

What Google Tag Manager is, without jargon

Google Tag Manager, GTM for short, is a free Google tool. You install one code on your website, once, and from then on you manage every measurement code from a panel: Google Analytics, Google Ads, the , TikTok, LinkedIn, heat maps. Think of it as the breaker box of your house: one box, and inside it a switch for each circuit. You do not open the walls every time you want to turn something on.

It works with three pieces. The is what gets sent and to whom, for example “tell Google Ads that a lead came in”. The is when it gets sent, for example “when the contact form is confirmed”. The variable is the data that travels with it, such as the form name or the page. Every change is saved as a version you can review before publishing and roll back if something breaks.

What GTM does not do is show you reports. It is the messenger, not the destination. The numbers are read in Google Analytics, in Google Ads and in Meta's Events Manager. If you want to see how GA4 and GTM split the work for Google Ads, we explain it in how to measure conversions with GA4 and GTM.

How a measurement change goes live in GTM
  1. 1Install the containerOne code on every page of the site, once.
  2. 2Create the tagWhat is sent and to which platform.
  3. 3Set the triggerThe exact moment it fires.
  4. 4Test in PreviewWatch it fire on your own visit before anyone else sees it.
  5. 5Publish a versionNamed and dated, so you can roll it back.

What it is for in a real business

You stop depending on a developer for every change. Adding the event for a new WhatsApp button or a new campaign becomes a 15-minute job in a panel, not a ticket that waits a week.

Everything lives in one place. When the codes are scattered across the theme, a plugin and a widget, nobody knows what is measuring what, and the same lead ends up counted twice. In GTM you see the full list and who changed what.

All platforms count the same thing. One trigger, “lead confirmed”, can fire the Google Ads conversion, the GA4 event and the Meta event at the same time. If each platform has its own definition of a lead, your reports will never agree.

You can test before breaking anything. Preview mode shows which tags fire on each click, on your own visit, before publishing. And if something fails after publishing, you go back to the previous version in two clicks.

The tags that matter, in order

A business that sells services does not need forty tags. It needs eight, well done. The order matters: there is no point installing heat maps if you still do not know how many leads came in last month.

Two naming changes that confuse people: the base Google Analytics tag is now called the Google tag, and since March 2024 GA4 calls the important actions . A key event that you share with Google Ads becomes a conversion there. And in Mexico, many people do not fill in forms: they write on WhatsApp or call. If you do not measure those clicks, your campaign looks worse than it is.

The eight tags of a service business
  • Google tag (GA4)
    What it is for
    Visits, traffic sources, base of everything
    When it fires
    Every page
    Priority
    Essential
  • GA4 event generate_lead
    What it is for
    Counts leads, marked as a key event
    When it fires
    Confirmed form submission
    Priority
    Essential
  • Google Ads conversion + conversion linker
    What it is for
    Tells Google which click brought the lead so it can optimise
    When it fires
    Conversion: same as the lead. Linker: every page
    Priority
    Essential if you run Google Ads
  • Meta Pixel: base + Lead
    What it is for
    The same for Facebook and Instagram
    When it fires
    Base: every page. Lead: confirmed submission
    Priority
    Essential if you run Meta Ads
  • WhatsApp and phone clicks
    What it is for
    Measures the leads that never touch a form
    When it fires
    Clicks on wa.me and tel: links
    Priority
    Very important
  • Google Ads remarketing
    What it is for
    Show ads again to people who already visited
    When it fires
    Every page
    Priority
    Important
  • Heat maps (Microsoft Clarity)
    What it is for
    See where people get stuck; free
    When it fires
    Every page
    Priority
    Useful
  • TikTok, LinkedIn, Pinterest
    What it is for
    Only if you advertise there
    When it fires
    Same logic: base + lead
    Priority
    Optional

Priority assumes you advertise on Google and Meta. If you only advertise on one, skip the other's tags.

The thank-you page: why it matters so much

A is the page a person lands on after sending your form. It looks like a detail and it does two jobs at once: it tells the person their message arrived, and it gives your measurement a clear moment to count a lead.

For the person, it removes the doubt. Without it, many people send the form twice or write “did you get my message?”. A good thank-you page says when and through which channel you will reply, for example “we will write to you on WhatsApp within 24 hours”, and offers one next step: book a call, see examples of your work or write directly. Nothing else: no menu full of distractions and no blog to wander off to.

For measurement, it is a clean signal: in theory only people who really sent the form get there. It also lets you exclude those who already became leads from your audiences, so you stop paying to chase someone who already contacted you.

The thank-you page mistakes that inflate your numbers

The most common setup is “count a conversion every time someone views /thank-you”. It works, until it does not: the person refreshes the page and you count two leads. Someone saves it in favourites. Google indexes it and people arrive from search. A link to it ends up in the menu. Every one of those visits looks like a lead in your report and the campaign seems to perform better than it does.

The basic fixes: mark the page as noindex so Google does not show it, do not link to it from anywhere, use a different one per form if you need to tell them apart, and in Google Ads set leads to count one conversion per click, not every one.

The more solid version, and the one we use on aphelion.mx, goes one step further: the conversion fires when the server confirms the form was received, with a unique ID per submission so no platform counts it twice. Only then does the person go to the thank-you page, which is noindex and is never used as a conversion by URL. It takes a little more work, but the number you see is the number of people who really wrote to you.

Three ways to count a lead
  • Thank-you page URL
    How it works
    Counts every view of /thank-you
    Advantage
    Simple; works with any form
    Risk
    Refreshes, bookmarks and indexing inflate it
  • Event on confirmed submission
    How it works
    The site pushes an event to the data layer when the form succeeds
    Advantage
    Only counts real submissions
    Risk
    Needs a developer once
  • From the server or the CRM
    How it works
    Conversions API, enhanced conversions or offline import
    Advantage
    Survives blockers; can report qualified leads and sales
    Risk
    More setup and upkeep

How to check everything works before spending on ads

Open GTM's Preview mode, send a real test through your form and check that each tag fired exactly once. Then confirm it on the other side: the event in GA4's DebugView, the conversion in Google Ads diagnostics and the Lead in Meta's test events. A tag that fires in GTM but never arrives at the platform is still broken.

Then the check that almost nobody does: once a week, compare the leads each platform reports with the leads that really arrived in your inbox or your . If Google Ads says 30 and you received 12, something is counting twice. If you want the leads to land in one place automatically, we explain how in connecting your forms to a CRM.

One last point on privacy: your should say that the site uses cookies and measurement tags, and personal data such as email or phone should never travel in plain text or in a URL. When a platform asks for them to improve the match, they are sent encrypted.

If you do not know what your site measures today

Start with the basics: the Google tag, the lead event and the WhatsApp clicks. With those three you already know where your leads come from, and every peso you put into ads starts to have a return you can see. Next comes Meta, which uses different names for the same things; we cover the equivalences in Meta events and Google tags.

If you would rather have someone review it, at Aphelion we set up and audit measurement as part of our Google Ads and Meta Ads work. You can start with the free digital diagnostic or tell us what you have and we will tell you what is missing.

Frequently asked questions

Yes. The standard version is free. Only server-side tagging has a cost, because it needs its own server, and most small businesses do not need it to start.

Google Analytics stores and shows the data. Google Tag Manager is the tool that sends that data, to Analytics and to other platforms such as Google Ads or Meta. GTM has no reports.

It is highly recommended: it confirms to the person that their message arrived and tells them what happens next. For measurement, the most reliable approach is to count the lead when the server confirms the submission and use the thank-you page for the experience, not as the only counter.

It is almost always a thank-you page counted on every refresh or direct visit, a conversion set to count every one instead of one per click, or the same event installed twice. Check in GTM's Preview mode how many times it fires.

Yes. In GTM you create a trigger for clicks on WhatsApp and phone links and send it as an event to GA4, Google Ads and Meta. It measures the intent to contact, not the conversation, so compare it with the chats that really arrived.

Want this handled instead of researched?

Find out in a few minutes what to fix first in your business, or tell us what you're working with and we reply within 24 hours.

Tell us where you are. Let's plan what comes next.

Start with what you want to improve. We review your project together and define the scope, deliverables and investment before work begins.

  1. Reply within 24 hours
  2. Project review
  3. Written proposal