To test Google Tag Manager, open the workspace, click Preview, connect Tag Assistant to your site, and perform each customer action (tap the phone number, submit the form, reach the thank-you page) while checking which tags fired and which did not. Then check GA4 DebugView to confirm the events arrived, publish as a named version, and send one real test lead on the live site. Preview proves a tag fired. Only the last step proves the lead reached the business. This post is about testing a change; checking a whole container is the GTM audit checklist.
What does Preview mode do?
Google's preview and debug page says Preview lets you browse your site "as if the current container draft was deployed," with the site connected to Tag Assistant so you can see which tags fired and in which order. The debug view is only visible in the browser that started it, or to people you share it with. Your regular visitors do not see it, and the draft is not live.
Running a test step by step
- Open the workspace with your change and click Preview at the top right. Tag Assistant opens in a new tab.
- Enter the page where the customer journey starts, usually the homepage or a landing page, and click Connect. Your site opens in a new window (or a new tab if you have the Tag Assistant Companion extension).
- Go back to the Tag Assistant tab and click Continue to see the debug interface.
- Do what a customer does, one action at a time:
- land on the page
- tap the phone number
- open the booking or contact form, fill it in, submit it
- reach the confirmation or thank-you page
- After each action, check in Tag Assistant which tags fired and which did not. Google's page says the debug interface shows whether a tag fired and what triggered, or did not trigger, its firing. A conversion tag should fire on exactly one of those steps.
- Click the fired tag and read what it sent: conversion ID, label, value, and any variables. A tag that fired with an empty or wrong variable is a failure, even though it shows as fired.
Pass and fail signs in the Preview results
| Check | Pass | Fail |
|---|---|---|
| Phone tag | Fires on the tap, once | Fires on page load, or does not fire |
| Form tag | Fires on the confirmation | Fires on the button click or on page view |
| Page view tags | Fire on every page | Missing on some templates |
| Conversion values | Match what you set | Empty or defaulted |
| Duplicates | One conversion tag per action | Two tags for the same conversion |
| Tags that did not fire | The ones you expect | Your new tag among them |
Test with the page as customers see it. A trigger that matches an exact link or class will fail if the site writes it differently. On one site, a phone-click trigger was set to "starts with" a tel: link of ten digits while the site wrote its numbers with +1, so the tag never fired. The condition was changed to "contains" the digits.
Why does Preview sometimes not connect?
Google's Tag Assistant troubleshooting page lists these causes:
- The page you entered does not have the Google tag on it.
- The debug parameter added to the URL breaks the page; uncheck "Include debug signal in the URL."
- The tag script loads after Tag Assistant tries to connect; click Retry.
- The tag loads in an iframe, which needs the Tag Assistant Chrome extension.
- Multiple redirects stop the debug window from loading.
- Ad blockers or other extensions block the tag.
- Consent management tools may block Google tags.
- A content security policy or a firewall blocks the container.
If Preview shows nothing, assume one of these before assuming the tag is broken.
How do you check what reached GA4?
Use DebugView. Google's DebugView page says Tag Assistant or Preview turns debug mode on for your own device by adding a parameter to the address, and the events then appear in Admin, Data display, DebugView in real time.
Two cautions from the same page. Events are not visible in debug mode if users have not given consent for Analytics cookies under consent mode. If you declined Analytics cookies while testing, that includes you. And if you turned debug mode on for everyone by adding debug_mode to the tag, setting it to false does not turn it off; you have to remove the field.
What to check in DebugView: the event name is exactly what your key event expects (generate_lead and Generate_Lead are different events), and the parameters you rely on, such as the form name or lead source, are filled in. How to decide which events count as leads is in GA4 key events for leads.
Share a preview URL so someone else can test
In Tag Assistant, More Actions, Share gives a preview URL that lets another person connect to your site in preview mode and see the debug interface. You can also share any older version from Versions, Share Preview. This is useful when the person who knows the site (the web developer, the owner on their phone) is not the person who built the tags.
Publish with a named version and a description
Click Submit, choose Publish and Create Version, and give it a name and description. Google's publishing page suggests names like "GA page view tag - initial launch." Add one more line to the description: which version to roll back to if something breaks.
Review the Workspace Changes list before publishing. Google lets you open each changed element and compare it with the previous version, or abandon a change you did not mean to make.
Test the live site the way a customer uses it
The live site, the way a customer uses it. Preview tested the draft against your browser; the live test checks everything else: caching, the form service, the CRM, the inbox.
On a cleaning company's site, one small change to the form made the form service hold every submission for activation. For about 15 minutes no lead was delivered, until it was rolled back. Since then the rule is: after any change to the form or the tags, send one real test lead and check that it arrived with its source. The full story is in offline conversion tracking.
For changes that depend on the visitor (for example, showing a different phone number to visitors who came from an ad), I have run the check in a headless browser: open the page with the ad parameter, confirm the number shown, confirm the cookie is set, and confirm the thank-you page sends the conversion to the right ad account.
Google Ads has its own verification for conversion tags, launched from the conversions summary. That is covered in checking conversion tags with Tag Assistant.
How do you roll back?
From Versions, pick the last good version and publish it, or use Set as Latest Version to make it the new draft and publish from there. Google keeps the publish history, so you can see which version was live when the numbers changed.
Make Preview, DebugView and a test lead a habit for every change
Make the three passes a habit for every change: Preview for what fires, DebugView for what arrives, and a real lead for what the business receives. Name every version and write down the rollback.
If you want the tracking built and tested this way, see Google Ads conversion tracking. Prices are on pricing, and the free written diagnostic is the place to start.
Related: