Skip to content
Tag Manager Training
GTM & GA4 glossary

GTM glossary

Preview mode

GTM's testing mode. It connects Tag Assistant to your website so you can see which tags fired, which didn't and why, before you publish anything.

Also known as: Preview and debug, GTM Preview, Tag Assistant, Debug mode, GTM debug mode

At a glance

Open it from
GTM workspace → Preview (top right)
Runs in
Tag Assistant, in a separate tab
Who sees your changes
Only the browser you're testing in
Sends real data?
Yes, tags really fire
When to use it
Before every publish, and whenever tracking breaks
On this page
  1. In plain English
  2. Why it matters
  3. Where to find it
  4. What it looks like
  5. Not to be confused with
  6. Example
  7. Troubleshooting
  8. Best practice
  9. Common questions
  10. Official documentation
  11. Related terms

In plain English

Preview mode lets you try out your GTM changes on the real website before anyone else sees them. Click Preview in your workspace and Tag Assistant opens your site in a new window, loading your unpublished changes for your browser only. Visitors keep getting the published version.

As you browse, Tag Assistant records every event on each page: the page loading, clicks, form submissions and anything pushed to the data layer. For each one it shows which tags fired, which didn't, the value of every variable and what was in the data layer at that moment.

That makes it two things at once: the safety check you run before every publish, and the first place to look when tracking stops working.

Why it matters

  • Untested changes affect every visitor. A broken trigger can stop conversions being recorded or fire a tag hundreds of times, and you won't find out until the reports look wrong days later.
  • It shows you why, not just whether. GA4 reports only show data that arrived. Preview mode shows the tags that didn't fire and the exact trigger condition that stopped them.
  • It saves hours of guesswork. Checking a variable or the data layer here takes a minute. Working backwards from reports can take days.

If you only learn one GTM skill properly, make it this one.

Where to find it

Start a Preview session

  1. In GTM, open the workspace with your changes and click Preview in the top right.
  2. Tag Assistant opens in a new tab. Enter the URL of the page you want to test and click Connect. Leave Include debug signal in the URL ticked unless it causes problems on your site.
  3. Your site opens in a new window with a Tag Assistant Connected badge in the bottom-right corner.
  4. Go back to the Tag Assistant tab and click Continue. Then use the site window the way a visitor would: click buttons, submit forms, add to cart.

Read the results

  1. In the Summary column, click the event you're interested in, for example Form Submit or a custom event such as generate_lead.
  2. On the Tags tab, check the tag you expect is under Tags Fired. Click it to see the values it sent.
  3. If it's under Tags Not Fired, click it and scroll to Firing Triggers. A red cross marks the condition that failed.
  4. Use the Variables and Data Layer tabs to see the exact values the trigger was checking at that moment.

Finish the session

Close the site window and the Tag Assistant tab. Nothing is published, so there's nothing to undo. If you change anything in GTM, click Preview again to test the new version, because an open session won't pick up your edits.

Google Tag Manager workspace with the Preview button in the top right, next to Submit, and the workspace changes listed below. (opens full size in a new tab)
Illustration. 1: Click Preview to start testing. 2: Preview loads the changes in this workspace. 3: These unpublished changes are what you're testing.
Tag Assistant connect dialog with a website URL entered, next to the website window showing a Tag Assistant Connected badge. (opens full size in a new tab)
Illustration. 1: Enter the page you want to test. 2: Leave the debug signal ticked. 3: Click Connect. 4: Your site opens with a Tag Assistant Connected badge. 5: The gtm_debug parameter is added to the URL.

What it looks like

Tag Assistant has the same layout on every site:

  • Summary (left): a timeline of every event, grouped by page, with the newest at the top. Earlier pages stay in the list, so you can still check what happened before a link click or redirect.
  • Tags, Variables, Data Layer and Errors tabs: what happened at the event you've selected.
  • Container and tag IDs (top): switch from your GTM container to a Google tag it loads, such as your GA4 Measurement ID, to see the hits actually sent.

Every page load starts with the same built-in events, in this order:

  • Consent Initialization: for consent banner and consent mode tags, before anything else.
  • Initialization: for the Google tag and other setup tags.
  • Container Loaded: the page view (gtm.js). Tags on the All Pages trigger fire here.
  • DOM Ready: the page's HTML has been read (gtm.dom).
  • Window Loaded: everything, including images, has finished loading (gtm.load).

After those you'll see interaction events such as Click, Link Click, Form Submit and Scroll Depth, plus any custom events your website pushes to the data layer.

Tag Assistant with the event timeline on the left and the Tags tab showing Tags Fired and Tags Not Fired for a generate_lead event. (opens full size in a new tab)
Illustration. 1: Summary lists every event, newest first. 2: Tabs for the selected event. 3: Tags that fired on this event. 4: Tags that didn't; click one to see why. 5: Switch to your GA4 Measurement ID to see the hits sent.

Not to be confused with

Term How it’s different
Preview mode Tests your unpublished GTM workspace in your own browser. Shows tags, triggers, variables and the data layer.
Publishing Makes a container version live for every visitor. Preview first, then publish.
GA4 DebugView Shows the events GA4 actually received from test sessions. Use it after Preview mode to confirm the data arrived with the right parameters.
Tag Assistant Companion An optional Chrome extension. It opens your site in a tab instead of a new window and can make connecting more reliable.
Environments Load a specific container version on a staging or development site, without publishing it to the live site.

Example

A Google Ads conversion isn't being recorded from the thank-you page. In Preview mode you submit the enquiry form, select Container Loaded under the thank-you page and find the Google Ads tag under Tags Not Fired. Opening it shows the trigger condition failed: the page path is /thank-you/ with a trailing slash, but the trigger checks that it equals /thank-you.

Changing the condition to starts with /thank-you fixes it. You restart Preview, submit the form again, see the tag under Tags Fired, then publish.

Troubleshooting

  • Tag Assistant won't connect to my site

    • Check the site actually has your container installed. The ID in the connected badge, or in the page source, must match the container you're previewing.
    • Turn off ad blockers and privacy extensions, or try a fresh Chrome profile.
    • Allow pop-ups for tagassistant.google.com, or install the Tag Assistant Companion extension so your site opens in a tab.
    • If the extra gtm_debug parameter makes the page error or redirect, untick Include debug signal in the URL and connect again.
  • My changes aren't showing in Preview mode

    • A session loads the workspace as it was when you clicked Preview. After editing a tag, trigger or variable, click Preview again.
    • Check you're previewing the right workspace. Each workspace has its own changes.
    • Make sure the site loads the container you're editing. Staging and live sites sometimes use different containers.
  • My tag is under Tags Not Fired

    1. Select the event where the tag should have fired, such as the Form Submit or the page view on the thank-you page.
    2. Click the tag and look at Firing Triggers. A red cross marks each failed condition, with the actual value shown next to the expected one.
    3. Fix the condition. Common culprits are trailing slashes, upper and lower case, and query strings in URLs.

    If every condition passes, check for a blocking trigger or consent settings holding the tag back.

  • My click or form submission doesn't appear in the timeline

    GTM only listens for clicks, form submissions and scrolling when a trigger of that type exists in the workspace. Create the trigger (it can be set to fire on some events only), restart Preview and try again.

    Many modern forms submit with JavaScript and never trigger GTM's form listener. In that case, ask your developer for a data layer event when the form succeeds, or use an element visibility trigger on the thank-you message.

    If Click or Form variables are missing from the Variables tab, enable them under Variables → Configure.

  • The page changes before I can see what fired

    Tag Assistant keeps earlier pages in the Summary column. After you land on the next page, scroll down to the previous page and select the click or form event there.

  • My test visits are showing up in GA4 reports

    Preview mode fires tags for real, so GA4 receives your test events, which is also why they appear in DebugView. Set up a developer traffic or internal traffic data filter in GA4, and take care when testing purchase or Google Ads conversion tags.

Details of a Google Ads tag that did not fire, showing a Page Path condition that failed because the actual value had a trailing slash. (opens full size in a new tab)
Illustration. Clicking a tag under Tags Not Fired shows each trigger condition. 1: The red cross marks the condition that failed. 2: The actual value is shown next to the expected one, here with a trailing slash.

Best practice

  • Preview before every publish. Even a small change can break a trigger another tag relies on.
  • Test the whole journey. Submit the real form, complete a test checkout and click the actual buttons, on desktop and mobile screen sizes.
  • Check what was sent, not just that it fired. Click the tag to check its parameter values, then confirm the event arrived in GA4 DebugView.
  • Test when tags should not fire. Make sure a conversion tag doesn't fire on a failed form submission or when the thank-you page is refreshed.
  • Restart Preview after every change. An open session won't pick up your edits.
  • Name tags so they're easy to scan. Names like GA4 Event – generate_lead make the Tags Fired list readable at a glance.
  • Keep test data out of your reports. Use GA4's developer traffic filter, and avoid real payments when testing purchases.
  • Preview old versions to find when something broke. Under Versions, any past version can be previewed without publishing it.

Common questions

Can visitors see my changes while I'm in Preview mode?

No. Only the browser connected to Tag Assistant loads your unpublished changes. Everyone else gets the published version until you submit and publish.

Does Preview mode send real data to GA4 and Google Ads?

Yes. Tags fire normally, so GA4 receives your test events and Google Ads tags can record conversions. GA4 marks Preview traffic as debug traffic, which is why it shows in DebugView and can be excluded with a developer traffic filter.

What's the difference between Preview mode and DebugView?

Preview mode shows what GTM did: which tags fired and why. DebugView, in GA4, shows what GA4 received. Use both: Preview mode to check the tag, then DebugView to confirm the data arrived with the right parameters.

Why does a tag show as fired but nothing appears in GA4?

"Fired" means GTM ran the tag, not that GA4 accepted the data. Check the Measurement ID, consent settings and ad blockers, then look in DebugView to see whether the event arrived.

Do I need the Tag Assistant Chrome extension?

No, Preview mode works without it. The Tag Assistant Companion extension is optional. It opens your site in a tab rather than a new window and can make connecting more reliable.

Can I preview an older version of my container?

Yes. Go to Versions, open the menu for the version you want and choose Preview. It's a quick way to check whether a problem existed before a recent change.

Official documentation

Last reviewed

Next step

Want your team to know this without looking it up?

Hands-on Google Tag Manager and GA4 training for agencies and marketing teams in Brisbane, the Gold Coast and the Sunshine Coast.