How to tell if your Google Tag Manager container is still installed
A theme update, a new page template, a CMS migration or a consent tool change can remove the Google Tag Manager snippet from some pages and not others. These checks go from quickest to most thorough.
1. Look at the page source
Open the page, view its source (Ctrl+U on Windows and Linux, Cmd+Option+U on a Mac) and search for GTM- and googletagmanager.com/gtm.js. The standard install has a script in the <head> and a <noscript> iframe right after the opening <body> tag. Note the container ID.
2. Ask the server directly
This shows what the server sends, without your browser's cache or extensions:
curl -s https://www.example.com/ | grep -o 'GTM-[A-Z0-9]*' | sort -u
Repeat it for each key template: the home page, a landing page, a form and its thank-you page. Different templates often carry different snippets.
3. Watch the Network tab
Open the browser's developer tools, go to Network, filter for gtm.js and reload. A successful request to gtm.js?id=GTM-… means the container loaded on that page. If the snippet is in the source but no request appears, something stopped it, often a consent banner or an ad blocker.
4. Use Tag Assistant
In Tag Manager, click Preview in the Workspace tab (or start from tagassistant.google.com), enter the page address and connect. Tag Assistant shows which tags fired and in what order.
Why the checks can disagree
- Tags added by other scripts after the page loads are not in the page source.
- Consent tools often hold scripts back (for example with
type="text/plain") until a visitor agrees. - Cached pages from a CDN or a caching plugin can lag behind a fix or a removal.
- Ad blockers in your own browser block requests that visitors' browsers may allow, and the reverse.
Get told about changes inside the container
Tag Manager can email you when a container version is published or created. Set it for every container under User settings, Default container notifications, or for one container under Admin, Container notifications. You can choose every publish, or only publishes to the production environment. This covers changes made in Tag Manager; it does not tell you if someone removes the snippet from the website.
Checking many client sites?
Lindenkit Tag Watch reads the HTML of up to 5 key pages per site about once a day and emails you when a GTM, GA4, Google Ads, Meta, LinkedIn or TikTok ID disappears or changes, or a GA4 ID looks configured twice, once the change is seen on two consecutive checks. It reads the HTML your server returns, so it cannot see tags that other scripts add later. US$25/month for 5 sites, 14-day trial without a card.
Sources
- Google Tag Manager Help: preview and debug containers (checked 22 November 2026)
- Google Tag Manager Help: container notifications (checked 22 November 2026)