Sub topic 8
Opening DebugView in GA4
Assume you already understand GA4 events, parameters, user properties, and data streams. You also need access to the GA4 property and a way to generate test traffic from your website or app.
DebugView is a GA4 report for inspecting events from devices marked as debug traffic. It is more detailed than the Realtime report. Realtime helps you confirm that activity is arriving across the property. DebugView helps you inspect the activity from one test device.
Open DebugView
- Open the correct GA4 property.
- Select Admin.
- In the Data display section, select DebugView.
- Generate an event from a browser or app with debug mode enabled.
- Wait for the test device to appear in the device selector.
You may need to choose a data stream or device from the selector near the top of the report. If no device appears, DebugView has not received a recognizable debug event recently, or you are viewing the wrong property.
The report does not automatically show every visitor. A device must send events flagged for debugging. For web traffic, this flag can come from debug_mode, Google Tag Manager preview mode, or Tag Assistant. For app traffic, the platform’s debug setting marks events for DebugView.
Understand the DebugView layout
DebugView organizes activity by device. Select a device to inspect its recent event stream. The timeline groups events by minute and shows individual events within each minute. Select an event to expand its details.
An expanded event can contain:
- The event name, such as
sign_uporpurchase. - Event parameters, such as
method,value, orcurrency. - User properties associated with the device.
- The approximate time at which GA4 received the event.
The device selector can contain several browsers, phones, or test installations. Device labels are not always human-friendly, so create one test session at a time when possible. Trigger a distinctive event, such as debug_test, to identify your device quickly.
Interpret an empty or incomplete view
An empty DebugView usually points to one of these conditions:
- Debug mode is not enabled for the current test session.
- The event was sent to a different GA4 property or data stream.
- The browser or app has not generated a new event recently.
- Consent settings prevent analytics storage or transmission.
- An ad blocker, tag configuration, network error, or app configuration prevents the request.
- You selected another device in the device selector.
Refresh the report and trigger a new event rather than relying on an older page load. DebugView focuses on recent debug activity, so an inactive device can disappear from the useful part of the view.
Use the event details to check spelling and values. An event named sign_up is different from signup, and a parameter is useful only if the implementation sends it with the intended name and value.
Choose the right report
Use DebugView when you need to answer, “What did this test device send, and with which parameters?” Use Realtime when you need to answer, “Is activity arriving in this property right now, and how many users or events are involved?”
Exercise
You enabled debug mode and triggered a sign_up event, but DebugView is empty. What should you check first?
Show answer
Confirm that the test is sending data to the correct GA4 property, that debug mode is enabled for the current device or session, and that you triggered a new event after opening the report.