Google Tag Manager
Google Tag Manager is a tag management system (TMS) that allows you to quickly and easily update measurement codes and related code fragments collectively known as tags on your website or mobile app.
What detecting Google Tag Manager tells you about a site
Google Tag Manager is a tag container, not an analytics tool itself — it is the loader that injects every other marketing and tracking script. Its signature is the gtm.js script from Google's host carrying a container ID (GTM-XXXXXXX) plus the dataLayer array on the page. Detecting GTM tells you the site centralises its third-party tags behind a marketing-managed container, which usually means a non-engineer can add or remove pixels without a deploy. Its presence is a cue to look deeper: whatever else is tracking the user is very likely being loaded through it.
Google Tag Manager in a real-world stack
When you find Google Tag Manager, it rarely travels alone. The hub for Google Analytics, ad conversion pixels (Meta, LinkedIn, TikTok), and any number of marketing tags fired without touching the codebase.
About
Google Tag Manager is a tag management system (TMS) that allows you to quickly and easily update measurement codes and related code fragments collectively known as tags on your website or mobile app.
Categories: Tag managers
Quick facts
Detection methodology for Tag managers
Tag managers ship a small loader script and rely on a runtime configuration object. GTM's `dataLayer` array and `gtm.js` URL; Adobe Launch's `_satellite` global and `assets.adobedtm.com` paths; Tealium's `utag.js`. We surface the loader and the configuration ID without dragging in every downstream tag the manager dispatches — those are reported separately as their own technologies.
How we detect Google Tag Manager
Sourcemap Explorer carries 7 fingerprint signals for Google Tag Manager, spread across 3 channels — javascript global, html source and script src url. The exact patterns are listed below, and you can replay each one in Chrome DevTools to confirm a match by hand.
Each signal alone is rarely conclusive — Sourcemap Explorer cross-references all of them and weights by confidence. You can reproduce any of these checks yourself in Chrome DevTools.
Window-level global the technology installs on page. Reproducible by typing the path into the DevTools console.
window.google_tag_data
window.google_tag_manager
window.googletag
Substring or regex match against the page HTML — typically a unique class, comment marker, or asset path.
googletagmanager\.com/ns\.html[^>]+></iframe>
<!-- (?:End )?Google Tag Manager -->
Script URL pattern. Typically a CDN host or chunk path that ships with the technology.
googletagmanager\.com/gtm\.js
\.googletagmanager\.com/
FAQ
How do I check if a website is using Google Tag Manager?
Open the page in Chrome, click the Sourcemap Explorer toolbar icon, and read the Stack tab. Google Tag Manager's specific fingerprints here are javascript global, html source and script src url, and the popup flags Google Tag Manager whenever any combination of them is found. The same checks can be reproduced manually in DevTools — see the "How we detect" section above.
What Google Tag Manager version can Sourcemap Explorer detect?
Google Tag Manager ships as a hosted tag managers rather than a bundled npm package, so version-specific detection isn't always possible. Where the platform leaks a version in response headers (`X-Powered-By`, `Server`, generator meta tags) we surface it; otherwise we report presence only.
Is Google Tag Manager a SaaS or self-hosted?
Google Tag Manager is offered as a hosted SaaS product. Detection runs against the JavaScript SDK or asset-URL fingerprints the platform ships into pages.
Where can I read more about Google Tag Manager?
Official site: https://www.google.com/tagmanager. For Sourcemap Explorer's detection guide, see the deep-dive link below or the related guides in the cross-link section.
Keep reading on Sourcemap Explorer
Practical guides
Alternative tools
Detected by Sourcemap Explorer
Open the popup on any page running Google Tag Managerand you'll see the exact version pulled from the bundled package.json when sourcemaps are exposed.