How To Use GA4 DebugView To Test Your Tracking

GA4 DebugView shows events and user properties in real time as they are collected from your website or app. You use it to confirm your tracking setup before data appears in standard reports, which can take 24-48 hours.

DebugView is a developer tool that requires you to enable debug mode on the device you want to monitor. Once active, you can see each event as it fires, inspect its parameters, and verify that your tags work correctly.

What DebugView Shows

DebugView is located under Admin > Data display > DebugView. It is separate from the Realtime report and designed specifically for troubleshooting. While the Realtime report shows aggregated user activity over the past 30 minutes for anyone with property access, DebugView focuses on a single device that has debug mode enabled and can display events from longer periods.

The table below highlights the key differences between the two reports:

FeatureRealtimeDebugView
Time windowPast 30 minutesLonger than 30 minutes (when debug mode was enabled)
Data streamsWeb and appWeb and app
User selectionComparisons for a specific stream; View user snapshot for a random userDEBUG DEVICE selector for a specific device
Primary audienceAll property usersDevelopers and tag implementers

The DebugView report itself has three main areas. The Seconds stream (middle column) lists events logged in the last 60 seconds. Each event shows a timestamp and, when clicked, reveals the parameters sent with it. The Minutes stream (left column) shows a series of circles, one for each of the most recent 30 minutes. The number inside a circle is the count of events received during that minute. Click a circle to load that minute's events into the Seconds stream.

The right column contains the Top Events table (the most frequent events over the 30-minute period) and the Current User Properties table (the latest state of user properties for the selected device). A DEBUG DEVICE selector lets you switch between multiple devices that have debug mode enabled, so each developer can work independently.

Attribution data in DebugView is limited; for accurate acquisition information, refer to the standard Acquisition reports. Also, events will not appear if you have implemented client-side privacy controls or if consent mode blocks them.

Click path: Admin then Data display then DebugViewAdminData displayDebugView
The DebugView report showing the Seconds stream, Minutes stream, and Top Events.

Turning On Debug Mode

DebugView only shows data when debug mode is active. You can enable it for just your own device or for all users. For most testing scenarios, enabling it for yourself is the safer choice because it avoids polluting your live data.

Enable debug mode for yourself

Use Google Tag Assistant, a free tool from Google. Follow these steps:

  1. Open tagassistant.google.com in your browser.
  2. Click Add domain.
  3. Enter the full URL of your website, starting with https:// or http://.
  4. (Optional) Check the Enable verbose logging box if you want more detailed logs.
  5. Click Connect. A new tab opens with your site, and a debug window appears.

Tag Assistant adds a _dbg parameter to the URL, which tells GA4 to send events to DebugView. As you browse your site, the debug window updates with tag information. To stop debugging, click Stop Debugging or the X in the debug window.

For more advanced debugging, install the Tag Assistant Chrome extension. It detects Google tags inside iframes, handles pop-up windows, and keeps the debug window in a separate browser tab. The extension also lets you start a debug session directly from the browser toolbar by clicking Troubleshoot tag.

The older Google Analytics Debugger extension, available in the Chrome Web Store, is deprecated and prints information only to the JavaScript console. It does not send data to GA4 DebugView. The screenshot below shows its listing; avoid using it for GA4 work.

Click path: Chrome Web Store then Search for Google Analytics DebuggerChrome Web StoreSearch for Google Analytics Debugger
The deprecated Google Analytics Debugger extension in the Chrome Web Store.

Enable debug mode for everyone

This method adds a debug_mode field to your tracking code, causing all users to send events to DebugView. Use it only on a staging site or for a very short test, because it can flood DebugView and affect your live data if not filtered.

With a gtag.js implementation, add the parameter to your config command:

gtag('config', 'G-XXXXXXXX', { 'debug_mode':true });

To debug only specific events, add 'debug_mode':true to the event call:

gtag('event', 'purchase', { 'debug_mode':true, ... });

In Google Tag Manager, set debug_mode to true in your Google tag to monitor all users, or in a Google Analytics: GA4 Event tag to monitor only that event. You do not need this for your own testing: GTM's preview mode already enables debug mode for your device.

Important: To disable debug mode, you must remove the debug_mode field or parameter. Setting it to false does not turn it off. If you leave it active, every user will continue to send events to DebugView, which can make it hard to find your own test device and may interfere with your data quality. For more on GTM configuration, see how to set up GA4 with Google Tag Manager.

Short on time? Analytics Art can check this in your property for you.

Reading The Event Stream

Once debug mode is on and you are actively using your site or app, events appear in DebugView almost instantly. The key to reading the stream is understanding the time windows and the device selector.

The Seconds stream shows each event as a row with the time it was logged on the device. Click any event to expand it and see the full list of parameters. For a page_view event, you might see page_location, page_referrer, and engagement_time_msec. For an ecommerce event like purchase, parameters can include currency, value, and items array. This is where you verify that an event carries the correct data. The stream updates continuously, so you can trigger an action on your site and see the corresponding event within seconds.

The Minutes stream is an archive of the last 30 minutes. Each circle represents one minute. If a minute shows a large number, you can click it to replay that minute's events in the Seconds stream. This is useful when you need to inspect something that happened a few minutes ago without having to reproduce it. The number in the circle is the total event count for that minute, not unique events.

The Top Events table gives you a quick summary of which events fired most often during the 30-minute window. The Current User Properties table shows the latest values of any user properties you have set, such as user type or login status. If you have multiple devices in debug mode, use the DEBUG DEVICE dropdown to select the one you want to inspect; otherwise, you may see events from a different device or none at all.

Remember that DebugView performs only limited attribution analysis. For reliable channel information, wait for data to appear in the standard reports. Also, consider filtering out developer traffic so your test data does not skew your real reports.

Why DebugView Shows Nothing

If DebugView is empty or stops showing events, work through the following checks in order. Most issues stem from debug mode not being active or the Google tag being blocked.

  1. Confirm debug mode is on. Look for the _dbg parameter in your browser's address bar (if using Tag Assistant) or verify that debug_mode is set to true in your tag. Simply opening the DebugView report does not enable debug mode. If you set debug_mode:false, remove the field entirely; false does not disable it.
  2. Check consent and privacy settings. If you use a consent management platform or have implemented consent mode, events are blocked when users deny consent. The same happens with client-side privacy controls. Use a consent mode checker to verify your setup. For testing, you can temporarily disable consent requirements on a staging site.
  3. Disable ad blockers and browser extensions. Ad blockers and privacy extensions can prevent the Google tag from loading or firing. Disable them for your test domain, or use a clean browser profile.
  4. Verify the Google tag is present and loads in time. Open the page source or use the Tag Assistant extension to confirm that the Google tag (gtag.js or gtm.js) is included. If the tag loads after Tag Assistant tries to connect, click Retry in the debug window. On some sites, the tag may be loaded asynchronously or deferred, causing a delay.
  5. Check for iframe or AMP issues. Tags inside iframes require the Tag Assistant Chrome extension to be detected. AMP pages are not supported by Tag Assistant, so debug mode may not work on them.
  6. Select the correct device. The DEBUG DEVICE dropdown may be set to a different device. Make sure you select the device that matches your current browser or app session. If you have multiple tabs or devices in debug mode, each appears as a separate entry.
  7. Look for URL parameter conflicts. In rare cases, the _dbg parameter added by Tag Assistant can interfere with your site's functionality (e.g., if your site uses strict URL routing). In Tag Assistant, edit the domain and deselect Include debug signal in the URL to work around this.
  8. Check network and security policies. Firewalls, proxy servers, or a Content Security Policy (CSP) can block the Google tag or the Tag Manager container. Check that none of them blocks the container or the destination tag.
  9. Avoid the deprecated debugger extension. The old Google Analytics Debugger extension prints to the browser console but does not send data to GA4 DebugView. Use Tag Assistant or the native debug_mode parameter instead.

If none of these steps resolve the issue, try reproducing the problem on a simple test page with only the basic Google tag installed. This helps isolate whether the problem is with your site's code or the environment.

Frequently Asked Questions

How To Use Google Analytics Debugger?

The legacy Google Analytics Debugger extension is deprecated and prints information to the JavaScript console; it is not compatible with GA4. For GA4, use Tag Assistant or enable debug_mode in your tracking code. These methods send events to the GA4 DebugView report where you can inspect them in real time.

Is Google Analytics 4 The Latest Version?

Yes, Google Analytics 4 is the current version of Google Analytics. It replaced Universal Analytics, which stopped processing data for standard properties. GA4 uses an event-based data model and offers new features like DebugView and machine learning insights.

What Is A View In Google Analytics?

In Universal Analytics, a view was a subset of data within a property, often used to filter internal traffic or create a test environment. GA4 has no views: you can create separate properties for different data subsets or use data filters to exclude unwanted traffic.

Is Google Analytics 100% Accurate?

No analytics tool is 100% accurate. GA4 data can be affected by ad blockers, consent choices, network issues, and sampling. DebugView helps you verify that events are being collected correctly on the client side, but final reported numbers may differ due to processing and attribution.

How Do I Exclude Myself From Google Analytics?

In GA4 Admin, open your web data stream's tag settings and define an internal traffic rule based on your IP address. Then activate the Internal traffic data filter under Admin > Data collection and modification > Data filters to exclude that traffic from reports. Alternatively, use a browser extension that blocks GA4 requests.

What Is Replacing Google Analytics?

Google Analytics 4 has replaced Universal Analytics as the primary analytics platform. There is no further replacement announced. Some third-party alternatives exist, but GA4 is the official successor and is actively developed with new features.