Skip to content
Adrythm

How-to

Fix Tag Manager preview mode not connecting

Updated November 20, 2026

15 minutes

Enter the address exactly as the site serves it, trailing slash included, on a page that loads this GTM- container, and check its gtm.js request, since some sites keep the ID out of the source. Scroll or tap in the window that opens; clear ad blockers and cookie banners. If the page breaks, untick Include debug signal in the URL.

Before you start

  • Access to the container in Tag Manager, to start Preview from its workspace. Google says access to data in Tag Assistant is managed through the same container permissions as Google tags move into Tag Manager containers, so a login with no role on the container is the first thing to rule out.
  • The container ID, shown on the Workspace tab and starting with GTM-.
  • Chrome, so you can add the Tag Assistant extension and watch the page's requests in Developer Tools.

Point preview at a page that runs this container

Preview shows your container only on a page that already loads it, so start by proving that, on the exact address the site serves.

  1. Open the page in a normal browser window and copy the address it ends on, including whether it ends in a slash. If it redirects, for example to https, from www or to a login page, use that final address. Google says multiple redirects can stop the debug window loading, and a redirect that fixes a trailing slash can also drop the debug parameter Tag Assistant adds to the address.
  2. Check that this page loads the container. In Chrome, open Developer Tools, select the Network tab, reload the page, scroll a little, and filter for gtm.js. The request's address carries the container ID after id=, and may come from the site's own domain rather than googletagmanager.com.
  3. Do not rely on searching the page source for the ID. Some sites write the container ID only into a script that runs after the page loads, so the source can show no GTM- ID on a page that loads the container every time.
  4. If a different GTM- ID shows, or none after you have scrolled, preview will not show this container on that page. Open the container the site does load, or try a page where yours is installed.
  5. In Tag Manager, on the Workspace tab, click Preview, enter the final address and click Connect.

Clear what blocks the connection

Any of these can stop the debug window from joining the page, so check them one at a time.

  1. In the window that opens, scroll or tap once and wait a few seconds. Many sites hold Tag Manager until the visitor's first touch or for a few seconds after the page loads, and Google says the tag can load after the point when Tag Assistant tries to connect. If it still shows nothing, click Retry.
  2. Turn off ad blockers and privacy extensions for the site, then reconnect.
  3. Answer the cookie banner in the window that opens. If it still will not connect, Google says consent tools may block Google tags and should be configured to allow interaction with Google's consent API. On a site with consent mode, a tag set to wait for consent shows as not fired until you answer, which is the banner working, not preview failing.
  4. If you use the Tag Assistant extension, check it has permission to read and change site data on this site.
  5. If the tags sit inside an iframe, such as an embedded booking or form tool, install the Tag Assistant extension. Google says iframe tags can be debugged only with it. Tag Assistant does not currently support AMP pages.

Drop the debug signal if the page breaks

Tag Assistant adds a debug parameter to the address, which Google names _dbg, and it can break some sites, so Google offers a switch to leave it off.

  1. If the site shows an error, reloads endlessly or otherwise misbehaves, go back to Tag Assistant and edit the domain you entered.
  2. Untick Include debug signal in the URL and click Connect again.

Google says that parameter helps other debugging tools, such as DebugView in GA4, show your session. With it off, DebugView may stay empty, so judge the test in the Tag Assistant window.

Check it worked

The site's window should show Connected in the bottom right corner. Go back to the Tag Assistant tab and click Continue to open the debug interface.

Look at the address bar of the site's window: it should still carry the debug parameter. If it does not, a redirect removed it, so enter the address in the form the bar now shows and connect again.

Click through the site: the debug interface should list which tags fired on each page and action, updating as you go. It shows only in your browser and to anyone you share the preview with, never to regular visitors.

What seven websites showed, read 2026-11-20

On 2026-11-20 the seven websites whose Tag Manager containers Adrythm manages were read three ways: each home page and eight pages picked at random from each sitemap, 56 pages in all, were requested with a debug parameter on the address in the forms a person might type; each home page was opened in headless Chrome as a Pixel 7 phone with the parameter on, once left alone for 15 seconds and once scrolled a second after it loaded, with every request logged; and each container's workspaces were read through the Tag Manager API. Businesses are not named.

Two of seven sites drop the parameter on a trailing slash. On each, an address typed without the site's own trailing slash form, or with one it does not use, answered with a redirect to the right form and no query string, on all 16 pages tried. The page then loads normally, so nothing looks wrong, but the address no longer carries the debug signal. The other five kept the parameter through the same redirect.

The www and http forms kept it. On six sites every http and www address redirected in one or two steps to the right address with the parameter intact. On the seventh the www address did not answer at all, so a preview started from it could never connect.

Three of seven sites have no container ID in their page source. On 24 of 24 pages from those three, the HTML the server sent held no GTM- ID and no gtm.js address; the container arrived through a script that ran later. A search of the source, the usual first check, would call the container missing on every page of those sites.

Most sites hold Tag Manager back. Left alone, two sites requested their container about half a second after the page started, before it finished loading, and one at 1.5 seconds. Three waited 4.3, 4.9 and 5.8 seconds, and one waited 15.3 seconds.

One scroll ended the wait. With a single scroll a second after loading, every one of the seven had requested its container within 2.2 seconds. The site that waited 15.3 seconds left alone asked for it at 1.8.

One site serves the container from its own domain. Its gtm.js request came from a path on the site's own address, not googletagmanager.com, so a Network filter for the Google domain finds nothing there; filter for gtm.js instead.

Preview showed the live tags. The seven web containers held nine workspaces, and none had an unpublished change, so a preview of any of them would have matched what visitors already run. Two containers kept a second named workspace with no changes in it.

Decide what to try first

Stop at the first line that fits what you see.

The site's window opens and the address bar has lost the debug parameter. A redirect stripped it. Enter the address in the form the bar now shows, with or without its trailing slash, and connect again.

The window opens, the parameter is there, and Tag Assistant waits. Scroll or tap in the site's window, wait five seconds, then click Retry. Many sites load Tag Manager only after a touch or a delay.

No gtm.js request appears in the Network tab even after scrolling. The page does not load this container. Try another page, or find out what the site loads instead before changing anything in Tag Manager.

The gtm.js request carries a different GTM- ID. You are previewing the wrong container. Open the one that ID belongs to.

The page breaks or reloads with the parameter on. Untick Include debug signal in the URL, and judge the test in Tag Assistant rather than DebugView.

Tag Assistant says you cannot see the data. Ask whoever manages the container for a role on it; Tag Assistant follows the container's permissions.

Why isn't Google Tag Assistant working?

On the seven sites read above, what could stop it connecting sat on the site's side: an address form that loses the debug parameter, a container that waits for a touch, or a page source with no ID that sends people looking in the wrong place. Work through the first two parts in order before suspecting Tag Assistant itself, and check you have a role on the container, since Google now manages access to Tag Assistant's data through the container's permissions.

Why does DebugView show nothing even though Realtime works?

Realtime counts every visitor. DebugView shows only devices in debug mode, which Tag Assistant's debug parameter turns on, or a debug_mode setting on the Google tag. If a trailing slash redirect stripped the parameter, as it did on two of the seven sites, or you unticked the debug signal, Realtime shows your visit and DebugView stays empty. DebugView also covers only the last 30 minutes, so start a fresh session before you judge it.

Will my debug events count in reports?

They can. Google advises filtering out developer traffic while debug mode is on, so a morning of preview clicks does not add page views and key events to the property's reports. Set up a developer traffic filter in GA4's data filters before a long test.

Preview works but the live site does not

Preview runs the workspace draft as if it were deployed, in your browser only. A tag that fires there is not live until a version is created and published to the Live environment.

Let someone else preview it

Preview shows only in the browser that started it. To let a colleague see the same draft, click More Actions in Tag Assistant, then Share, enter the site's domain and send them the preview URL it gives.

Lead and call tracking is one of the things we sell, and it goes in before any ad budget is spent. Jobs like this one are part of that work.

Still have a question this page did not answer?

Ask it on a call. Thirty minutes, a straight answer, and no follow-up sequence if you decide not to work with us.