Sometimes you need a container running on a page that does not have one. A client has not deployed the snippet yet. The staging environment is missing it. You want to prove a setup works before asking a developer to ship anything. Injecting the container from the browser answers all three in about ten seconds.
Why some extensions lost this feature
Manifest V3 changed how extensions may execute code, and several well-known debugging extensions dropped their injector rather than rewrite it — Adswerve's dataLayer Inspector+ is the most-missed example. The capability is still perfectly implementable under MV3; it just needs the injection to run in the page's own execution context rather than the extension's.
Injecting a container
- Copy your container snippet from GTM (Admin → Install Google Tag Manager, the first block).
- Open Tag Master's GTM tab and paste it into the snippet box. The container ID is detected as you type.
- Click Inject. The container loads on the current page immediately.
The injection is stored per site, so it re-applies on every reload until you remove it. That persistence matters more than it sounds — see the Tag Assistant note below.
Paste each snippet once. Tag Master saves it under its container ID, so next time you pick the container from the saved list and inject with one click.
Connecting a preview session
Adding gtm_debug to the URL does not, by itself, connect anything — modern GTM preview sessions
have to be initiated from tagassistant.google.com. That is why in-app "debug mode" toggles in older tools
never showed as connected.
Tick "Debug via Tag Assistant" before injecting and the flow completes itself: the container is injected, persistence is registered, and Tag Assistant opens with your container and page URL prefilled. Click Connect there; Tag Assistant reloads the page, the persisted injection re-applies, and the session attaches.
What injection is good for
- Pre-deployment proof. Show a client their conversion tracking working on their live site before a single line ships.
- Staging without releases. Test container changes on an environment where you cannot edit the head.
- Competitive teardown. Run your own dataLayer inspection against any page to understand a pattern you want to copy.
- Trigger development. Combine with the element picker to build and verify click triggers on a real page before creating them in GTM.
Limits worth knowing
- The injection exists only in your browser. Nobody else sees it, and nothing is changed on the server.
- If the site already runs a container, you now have two. Use "Replace existing GTM" when you want yours to be the only one, or expect duplicate events in your reports.
- Tags that depend on a site's own dataLayer variables will only work if the page actually pushes them. Injection gives you the container, not the data layer someone else was supposed to build.
- A strict Content Security Policy can block the container from loading. Tag Master's CSP check tells you when that is what happened, instead of leaving you guessing.
The rest of this group: Containers and triggers
- How to debug GTM without Preview mode
- A GTM click trigger the next deploy will not break
- Tag Assistant alternative in 2026
More in Containers and triggers
Try it on your own site
Tag Master is free, needs no account, and collects no data.
Add to Chrome — Free