How to Use GA4 DebugView to Test Your Tracking Before Launch
Standard GA4 reports take up to a day to process, which is too late to catch a broken tag on launch day. This guide shows how to turn on debug mode, read DebugView, and run a pre-launch test routine that catches the problems that otherwise show up weeks later as (not set) or missing conversions.
In short
GA4 DebugView shows events from debug-enabled devices in real time. Enable debug mode with Tag Assistant or Tag Manager preview, or set debug_mode to true in the Google tag, then open Admin, Data display, DebugView. Click through your site, select your device, and inspect each event's parameters to confirm page views, campaign data and key events arrive correctly.
You are about to launch a new site, a new campaign, or a new checkout, and you need to know that GA4 records what it should before real money flows through it. Standard GA4 reports can take up to a day to process, and by then a broken tag has already cost you a day of data you cannot recover. DebugView is the tool for this. It shows events from your own browser as they arrive, with every parameter attached. This guide covers how to turn debug mode on, how to read DebugView, and a test routine to run before every launch.
Step 1: turn on debug mode
DebugView only shows events from devices in debug mode. Google documents three ways to enable it on a website:
- Tag Assistant: open tagassistant.google.com, enter your site URL and connect. Tag Assistant adds a parameter to the URL that puts your browser session in debug mode. This affects only your device and is the best option for most testing.
- Google Tag Manager preview mode: clicking Preview in Tag Manager opens your site through Tag Assistant with debug mode on, and lets you see which tags fired alongside the GA4 events.
- The debug_mode parameter: add 'debug_mode': true to the config command in gtag.js, or set debug_mode to true in the Google tag in Tag Manager, to put every visitor in debug mode, which is useful on a staging site. You can also set it on individual events to watch only those.
To turn it off, remove the debug_mode parameter. Setting it to false does not disable debug mode.
Step 2: open DebugView and pick your device
In GA4, go to Admin and, under Data display, click DebugView. In the top left is the Debug Device selector. If several people are testing at once, each browser in debug mode appears as a separate device; pick yours, which is usually the one whose events match what you just clicked. Then read the screen in three parts:
| Area | What it shows | Use it to |
|---|---|---|
| Seconds stream | Events from the last 60 seconds, newest first | Click an event and inspect every parameter it carried |
| Minutes stream | One circle per minute for the last 30 minutes, with event counts | Jump back to an earlier minute and load its events |
| Top events and user properties | Event totals for the 30-minute window and the device's current user properties | Confirm counts and that user properties such as a user ID are set |
Key events are highlighted in the stream, which makes it easy to see whether a purchase or lead fired as a key event and not just as an ordinary event.
Step 3: run the pre-launch checklist
Start every test in a fresh private window so you begin a new session, and land on the site with a tagged URL, for example ?utm_source=test&utm_medium=email&utm_campaign=launch_check. Then work through these checks:
- 1Session start: the first events should be session_start and page_view, in that order, and nothing should fire before them. Events firing first are the classic cause of (not set) values in GA4.
- 2Campaign data: click page_view and confirm page_location includes your UTM parameters and that the campaign values appear. If they are missing, see UTM parameters not showing in GA4.
- 3Page views across navigation: move through several pages and confirm each sends page_view with the right page_location and page_title, including route changes in single-page apps.
- 4Key events: complete each action you count, such as a form submission or sign-up, and confirm the event name is exactly the one marked as a key event and is flagged as such. Our guide to GA4 key events vs conversions covers how they should be configured.
- 5Parameters: open each key event and check every custom parameter is present, correctly spelt and populated, such as form_id, value and currency.
- 6Ecommerce: for view_item, add_to_cart, begin_checkout and purchase, open the items array and confirm item_id, item_name, price and quantity, and that purchase carries transaction_id, value and currency.
- 7Cross-domain hops: if the journey crosses domains, confirm the destination URL carries _gl and the events continue under the same device without a new session_start. See GA4 cross-domain tracking.
- 8Consent: repeat the test once declining analytics consent and once accepting it after landing, and check that the behaviour matches your consent mode setup.
Record what you tested
A test that is not written down will be repeated badly next time, or not at all. Keep a short test sheet next to your tracking plan: the URL you started on, the browser and consent state, each action you took, the event you expected, and whether it appeared with the right parameters. Screenshots of the parameter panel in DebugView are useful evidence when a developer asks what was wrong. Over a few releases, the sheet becomes a regression test you can hand to anyone on the team.
Test on more than one browser. Safari, Firefox and Chrome treat cookies, storage and tracking scripts differently, and a tag that works in your usual browser can fail in the one most of your mobile visitors use. For mobile apps built with Firebase, debug mode is enabled through the Firebase tooling rather than the web tag; Google's Firebase documentation covers the steps for Android and iOS, and the events then appear in the same DebugView.
When events do not appear
If DebugView stays empty, work through the causes in order. Check that debug mode is genuinely on: in Tag Assistant, the connection should show as active for the tab you are using. Check the device selector: your device may be listed but not selected. Check consent: Google notes that events may not appear when consent mode is active and analytics consent has not been granted, or when client-side privacy controls are in place, so a declined banner or a strict browser setting will empty the view. Check for blockers: ad blockers and privacy extensions often block the Google tag entirely, so test in a clean profile. Finally, use your browser's network panel to see whether requests to Google Analytics are leaving the page at all.
Keep test traffic out of your reports
Debug mode does not stop test events from reaching your reports. GA4's data filters include a developer traffic filter that excludes events sent in debug mode, and an internal traffic filter for your office IP ranges. Create them in Admin, leave them in testing state first to confirm they behave as expected, then activate them. Filtered data cannot be recovered, so test before activating.
Test beyond GA4
DebugView checks what GA4 received from one browser on one day. It does not check that the same event reached your ad platforms, that campaign data survives redirects on every landing page, or that it still works after next week's release. Make the checklist part of every release, not just launches, and use an automated check where you can. Our free tracking audit scans a live page for the tags present and whether campaign parameters survive, which is a useful first pass before you open DebugView.
Frequently asked questions
Why is GA4 DebugView not showing any events?
The most common reasons are that debug mode is not actually enabled on your device, that the wrong device is selected in the debug device menu, that consent for analytics has not been granted, or that an ad blocker or browser privacy setting is blocking the tag. Check each in that order.
Do debug events show up in my normal GA4 reports?
They can. Debug mode makes events visible in DebugView; it does not keep them out of reports by itself. To exclude them, use a data filter for developer traffic in Admin, which filters events sent with debug mode, and test it before activating.
How do I turn off GA4 debug mode?
Remove the debug_mode parameter from your tag configuration. Google's documentation notes that setting debug_mode to false does not turn debug mode off; the parameter has to be removed entirely. Closing Tag Assistant or Tag Manager preview ends debug mode for your own session.
Can I see Measurement Protocol events in DebugView?
Server-sent events reach DebugView only if they carry debug mode and the identifiers of a debug device. For checking server payloads before launch, Google provides a separate validation endpoint for the Measurement Protocol, described in its developer documentation.
Sources
Try EndFrame
Add a server-side path for your conversions.
EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.
No credit card required