Website monitoring · No. 05

Google Tag Manager check

Chebotar A. · CEO FullCheckApp Updated 10 min read

In short

Google Tag Manager (GTM) is a Google tool for adding analytics and ad tags to your website — GA4, Google Ads conversions, Meta and TikTok pixels — plus conversion tracking and custom JavaScript. All of it runs through one snippet on the page: the container. If an update removes it, every tag inside stops at once, while the website looks fine.

Contents
  1. What are Google Tag Manager and a GTM container?
  2. Why monitor your Google Tag Manager container?
  3. Why does the Google Tag Manager code disappear from pages?
  4. How to spot a Google Tag Manager problem
  5. How to check Google Tag Manager yourself
  6. What FullCheckApp checks
  7. FAQ
  8. Sources

What are Google Tag Manager and a GTM container?

Google Tag Manager (GTM) is a tool that lets marketers manage a website’s tags through a web interface instead of editing the page code every time. A tag is a snippet of code that sends visit data to another service: Google Analytics, Google Ads, Meta, TikTok, a chat widget or a CRM.

Besides ready-made tags, GTM is where you set up conversion tracking — for example, Google Ads conversion tags (Tag Manager Help) — and add your own JavaScript when you need something the built-in templates don’t offer. That’s what Custom HTML tags and Custom JavaScript variables are for (Tag Manager Help):

“The Custom HTML Tag type allows you to deploy a tag that isn’t yet supported via Tag Manager.”
— Tag Manager Help, Custom tags

All of your website’s tags live in a container. Here’s how Google defines it:

“A collection of tags, triggers, variables, and related configurations installed on a given website or mobile app is called a container.”
— Tag Manager Help, Introduction to Tag Manager

On the website itself, the only trace of the container is the installation code with an ID like GTM-XXXXXXX. Every time a page loads, it fetches the gtm.js file with the current container version from Google’s servers, and that file fires the right tags.

ComponentWhere it livesWhat it does
Main container codeThe <head> of every pageLoads gtm.js and fires tags
<noscript> blockRight after the opening <body> tagA fallback for browsers with JavaScript turned off
TagsInside the container, in the GTM interfaceCode for GA4, Google Ads, pixels and other services
TriggersInside the containerConditions that fire a tag: a page view, a click, a form submission
VariablesInside the containerValues that tags pass along: the page URL, the order total and so on

Why monitor your Google Tag Manager container?

Because the container is a single point that every tag inside it depends on. Google says outright that GTM is designed to replace individual hand-coded tags:

“A Tag Manager container can replace all other manually-coded tags on a site or app, including tags from Google Ads, Google Analytics, Floodlight, and 3rd party tags.”
— Tag Manager Help, Introduction to Tag Manager

The flip side of that convenience: if the container code disappears, everything set up in it switches off at the same time. In practice, that means:

  • Google Analytics 4 stops receiving data. Your reports show a traffic crash even though real visitors haven’t gone anywhere. The data for those days will never show up: a tag that didn’t fire didn’t send anything.
  • Google Ads loses conversions. Google recommends using Google Ads conversions based on GA4 key events to optimize bids with Smart Bidding (Google Ads Help). Without conversion data, automated bid strategies are optimizing blind.
  • Meta and TikTok pixels go silent. Retargeting audiences stop growing, and your ad accounts no longer see purchases or leads.
  • Secondary tools break. Chat widgets, heatmaps, affiliate tracking codes — anything you connected through GTM.

Meanwhile, the website itself keeps working as usual, and visitors won’t notice a thing. The problem usually comes to light days or weeks later, when someone opens a report and sees a zero.

Why does the Google Tag Manager code disappear from pages?

Most often, it happens after website work that had nothing to do with analytics:

  • A theme update or replacement. The container code was pasted by hand into a template file, and the new theme version overwrote that file.
  • A disabled plugin. GTM was added through a CMS plugin, which was switched off while troubleshooting a conflict or running an update — and never switched back on.
  • A redesign or a move to a new CMS. The new templates were built from scratch, and nobody remembered the container code.
  • New pages outside the main template. Landing pages built in a page builder, or a cart or checkout on a separate template or subdomain.
  • Speed optimization. A caching or script-combining plugin changes or defers the code, and the container stops firing.
  • The wrong ID. After moving from a staging site, the website is left with the staging container instead of the live one.

How to spot a Google Tag Manager problem

You won’t see a missing container on the website — you’ll see it in the reports of the services that depend on it:

What you seeLikely causeWhat to do
Users in GA4 dropped sharply across the whole website, and Realtime is emptyThe container code is missing from your pagesSearch the page source for GTM-; if it’s not there, put the code back in the template or re-enable the plugin
Data disappeared from only some pages, such as the cartThose pages use a different templateAdd the container code to that template
Google Ads shows zero conversions while clicks are steadyThe container or the conversion tag isn’t firingCheck the thank-you page in GTM Preview mode
The page has a different GTM- ID than your accountA staging or old container was left behindReplace the ID with the live one
Page views in GA4 are doubledThe GA4 tag is installed both in the code and in the containerKeep just one installation method

The last row is the opposite problem: Google warns that installing the GA4 tag both ways at once leads to overcounted data (Google Analytics Help).

How to check Google Tag Manager yourself

First, make sure the container code is where Google recommends putting it:

“Copy the first block of code and paste it as high in the <head> tag as possible. […] Copy the second block of code and paste it immediately after the opening <body> tag.”
— Tag Manager Help, Install a web container
  1. Open the page and press Ctrl+U (Cmd+Option+U on a Mac). Use Ctrl+F to find googletagmanager.com/gtm.js and GTM-. The ID should match the one shown in the GTM interface.
  2. Open developer tools (F12), go to the Network tab, reload the page and filter requests by gtm.js. The request should return a 200 status.
  3. In GTM, click Preview and enter your website URL. Preview mode connects your website to Tag Assistant, where you can see which tags fired and in what order (Tag Manager Help).
  4. Install Google’s official Tag Assistant extension for Chrome. It helps you verify that Google tags, including the GTM container, are installed on the page and find setup errors.
  5. Repeat the check on your key pages: a product page, the cart, and the thank-you page after an order or lead.
  6. In the Versions section of GTM, make sure the published version actually contains the tags you need: the container can be on the website while a tag inside it has been deleted.
  7. Or use the FullCheckApp “Google Tag Manager check” and get the results in a clear visual format.

If you chose the last option, you’ve already made the right call: the check runs automatically, and you’ll be the first to know about any warning or critical issue.

What FullCheckApp checks

Every day, FullCheckApp checks whether the Google Tag Manager container is on your pages and shows its ID. It looks at your website from the outside, like a regular visitor, so there’s nothing to install.

  • When. Once a day, at a time you choose, in your time zone.
  • Where. The home page and up to 10 inner pages per website; the report shows exactly which page has the problem.
  • What counts as a problem. A container that used to be on the page has disappeared or changed — that’s critical. You can change the severity of each check separately for every website.
  • How you find out. You get an email report after every check, and critical issues are also sent to Telegram.
Tags and pixelsexample.com · example
Google Tag ManagerfoundGTM-XXXXXXX
Google Tag Managernot foundexample.com/cart/

The first check records a baseline, and from then on the service compares the current state with it every day. If you removed GTM or swapped the container on purpose, you can accept the new state with one click, and it becomes the new normal. Individual tags are covered by the GA4 tag, Facebook Pixel and TikTok Pixel checks — both on the page itself and inside the GTM container.

FAQ

What’s the difference between Google Tag Manager and Google Analytics?

Google Analytics collects and reports visit statistics. Google Tag Manager doesn’t analyze anything: it’s the tool you use to install tags on your website, including the GA4 tag, Google Ads conversions and social media pixels. That’s why GTM often sits on a website alongside Analytics, but one doesn’t replace the other.

Why does the GTM code have a second noscript snippet?

The main container code runs on JavaScript. The noscript block, which Google recommends placing right after the opening body tag, is a fallback for browsers with JavaScript turned off. The first snippet in the head does the heavy lifting: if it disappears, tags stop working for almost all of your visitors.

Can a website have two GTM containers?

Technically, yes — for example, a separate container for an agency. But every extra container makes things harder to control: it’s easy to install the same tag twice, and then your analytics data doubles. If you have several containers, check after every update that the pages still carry exactly the IDs they should.

The container is on the website, but GA4 isn’t getting data. Why?

Having the container code on the page doesn’t mean the right tag is inside it. The tag may have been deleted or paused in GTM and a new version published, or its trigger may have stopped firing. Open GTM Preview mode and check in Tag Assistant which tags actually fire on the page.

Does Google Tag Manager slow down my website?

The container itself loads asynchronously, so it doesn’t block the page from rendering. But every tag inside it adds its own scripts and requests, so an overloaded container can slow your website down. Review the container from time to time, remove tags for services you no longer use, and test page speed, for example in PageSpeed Insights.

Sources

  1. Tag Manager Help — Introduction to Tag Managersupport.google.com/tagmanager/answer/6102821
  2. Tag Manager Help — Install a web containersupport.google.com/tagmanager/answer/14847097
  3. Tag Manager Help — Preview and debug containerssupport.google.com/tagmanager/answer/6107056
  4. Google for Developers — About Google Tag Managerdevelopers.google.com/tag-platform/tag-manager
  5. Tag Manager Help — Custom tagssupport.google.com/tagmanager/answer/6107167?hl=en
  6. Tag Manager Help — User-defined variable types for websupport.google.com/tagmanager/answer/7683362?hl=en
  7. Tag Manager Help — Google Ads conversionssupport.google.com/tagmanager/answer/6105160?hl=en
  8. Chrome Web Store — Tag Assistantchromewebstore.google.com/detail/tag-assistant/kejbdjndbnbjgmefkgdddjlbokphdefk
  9. Analytics Help — Troubleshoot tag setup on your websitesupport.google.com/analytics/answer/9311124
  10. Google Ads Help — Create Google Ads conversions based on Google Analytics key eventssupport.google.com/google-ads/answer/10632359

Check your website

Add your website address — the first check runs right away, and you’ll see the status of every item in this article.

Check for free

Related articles

06 Google Analytics 4 tag checkHow the GA4 tag collects visitor data, why it can vanish after a website update, and what that means for your reports and ads. 07 Facebook Pixel checkWhy you need the Meta Pixel, how it sends events to your ad account, and what happens to retargeting when the pixel stops working. 08 TikTok Pixel checkWhat the TikTok Pixel does, what data it sends to optimize your ads, and how to tell whether it’s really installed on your website.