Sub topic 9
Verify GA4 with Realtime, Tag Assistant, and DebugView
Assume you already have a GA4 property, a web data stream, and a Google tag installed through your chosen method. You also need the stream's Measurement ID and access to the website in a browser. This chapter focuses on confirming that the tag sends data. It does not verify whether every event is designed correctly.
Use a controlled test
Test in a private browser window or a browser profile that is not signed in as a normal customer. Open one page on your site and perform one simple action, such as selecting a menu item. Record the page URL, the approximate test time, and the action you performed.
Before testing, check these conditions:
- Use the same Measurement ID in the site and the GA4 web stream.
- Publish the site or platform changes.
- Disable ad blockers for the test site.
- Complete the consent banner if your site requires consent for analytics storage.
- Keep the GA4 property and the website open in separate tabs.
A browser may cache old HTML or JavaScript. Refresh the page after publishing changes, and use the browser's developer tools if you need to confirm which scripts loaded.
Check the Realtime report
In Google Analytics, open Reports, then Realtime. The report shows activity from users who were active recently. It is useful for confirming that production traffic reaches the correct property.
Open your website in the test browser. Within a short time, look for an active user or a new event in Realtime. Select the event details if available and check the page location, event name, and device information.
Realtime is an operational check, not a complete validation of an implementation. Data can take time to appear, and filters, consent settings, network errors, or browser restrictions can prevent the request. A user may also appear without every event detail being immediately visible.
Inspect the tag with Tag Assistant
Tag Assistant is a browser-based debugging tool for Google tags. Start a Tag Assistant session, enter your website URL, and connect to the page. Reload the page after the connection is established.
Inspect the tag activity and confirm:
- The Google tag loaded on the page.
- The tag uses the expected Measurement ID.
- A page view or equivalent initial event was sent.
- The tag did not load multiple times from different installation methods.
- Your test action generated the expected event, if that event has been configured.
Tag Assistant can show the sequence of tag activity more directly than the Realtime report. If Tag Assistant sees the tag but Realtime does not show the user, investigate consent, network requests, property selection, and reporting delay.
The normal verification path looks like this:
Use DebugView for event-level testing
DebugView is designed for debugging events from a test device. Events appear there when the request includes a debug signal. For a gtag.js installation, you can temporarily add debug_mode to the Google tag configuration:
gtag('config', 'G-XXXXXXXXXX', {
debug_mode: true
});Replace the placeholder with the web stream's actual Measurement ID. Publish this temporary change, open the site, and perform the test action. In GA4, open Admin, then DebugView. Select the test device and inspect the event timeline.
Check the event name and its parameters. For example, a page view should contain page-related information, while a custom action should contain the parameters defined for that event. DebugView helps you inspect event structure, but it does not prove that the event is registered as a conversion or appears in standard reports.
Remove or limit debug_mode after testing. Leaving it enabled can make ordinary traffic appear as debugging traffic and can make later testing harder to interpret.
| Check | What it confirms | If it fails |
|---|---|---|
| Tag Assistant | The tag loaded and sent requests | Check the Measurement ID, installation, and blockers |
| DebugView | Test events and parameters reached GA4 | Check debug mode, consent, and event configuration |
| Realtime | The selected property receives recent activity | Check property selection, delay, and data filters |
Exercise
Tag Assistant shows the expected Google tag and Measurement ID, but DebugView shows no events. What should you check first?
Show answer
Check that debug_mode is enabled for the test tag, that the test device is selected in DebugView, and that consent or an extension is not preventing the request. Then reload the page and perform the action again.