Sub topic 9
Verify with Realtime, Tag Assistant, and DebugView
This chapter assumes you have a GA4 property with a web data stream, you know your Measurement ID (G-XXXXXXXXXX), and you have installed the Google tag by one of the three routes: pasted into the HTML, a platform integration, or Google Tag Manager. The goal now is to confirm that data actually reaches the property, and to learn which tool answers which question.
Why verification is a separate step
An installed tag is not the same as a working tag. The snippet can be in the page and still send nothing. A consent default can block it, an ad blocker can stop it, the Measurement ID can belong to the wrong stream, or a second tag can double every hit. Each of these looks fine when you read the source code.
Three tools cover different layers. Use them in order, from "is anything arriving?" to "is each event correct?".
| Tool | Where it lives | Question it answers | Delay |
|---|---|---|---|
| Realtime report | GA4, Reports > Realtime | Is any data arriving in this property right now? | Seconds to a minute |
| Tag Assistant | Browser, tagassistant.google.com | Is the tag on the page, which IDs does it fire, and does it send hits? | Immediate |
| DebugView | GA4, Admin > DebugView | Which events and parameters does my own device send, in order? | Seconds |
Check 1: The Realtime report
The Realtime report shows activity from roughly the last 30 minutes. It is the fastest way to see a first hit.
- Open your site in a normal browser window. Use a browser profile without ad-blocking extensions.
- In GA4, open Reports > Realtime.
- Look at the card for users in the last 30 minutes. It should show at least 1 user.
- Check Event count by Event name. A page load should produce
page_view, and oftensession_startandfirst_visitfor a new visitor.
If you have several data streams, the report can filter by stream. Make sure you look at the stream whose Measurement ID is on your page.
Realtime has limits you should know before you trust it:
- It does not show everything. Some data, such as a user's full attribution, appears only in standard reports after processing, which can take 24 to 48 hours.
- It counts all traffic to the property, including your own visits, unless you have set up internal traffic filters. A single user does not prove the setup is correct.
- Data can be missing if the visitor denied analytics storage through a consent banner. Test with consent granted first.
- Reports can show a small number of users even when the tag is broken, if other pages or devices are sending data. A non-empty report proves some installation works, not that every page does.
A good habit is to visit three or four different page types, such as the home page, a product page, and a checkout page. Realtime lists active pages under Views by Page title and screen name, so you can confirm each one appears.
Check 2: Tag Assistant
Tag Assistant is Google's tool for inspecting tags on a page. It shows what the browser loaded, which is the layer Realtime cannot see.
- Go to tagassistant.google.com and choose Add domain.
- Enter your site URL and select Connect. A new tab opens with your site and a connected badge.
- Click around your site, then return to the Tag Assistant tab and choose Finish.
- Review the summary. It lists the Google tags found and the Measurement IDs they use.
Look for three things in the result:
- The right ID. The
G-ID shown must match the Measurement ID in your web data stream. A copy-paste mistake produces a working tag that reports into the wrong property. - One tag per ID. If the same ID appears twice, you likely have duplicate installation. The next chapter covers how to fix it.
- Hits sent. For each page, the tool shows whether the tag fired and which events were sent. A tag that loaded but sent no hits points to consent, a configuration error, or a script error.
If you use Google Tag Manager, Tag Assistant also opens preview mode. It shows a timeline of messages, such as Container Loaded and Window Loaded, and which of your tags fired on each one. A tag listed under "Tags Not Fired" tells you its trigger conditions did not match. Click the tag to see which condition failed.
Check 3: DebugView
DebugView shows the events from one debug device in a live, ordered stream, with their parameters. Where Realtime gives you totals, DebugView gives you a timeline. It is where you confirm that an event has the right name and the right parameter values.
Events appear in DebugView only if they are flagged as debug events. There are three common ways to flag them.
- Tag Assistant or the GTM preview mode. Connecting your site through either one turns on debug mode for that session.
- The
debug_modeparameter. Add it to the config call. - The Google Analytics Debugger browser extension. It turns on debug mode for pages you visit.
For the second method, change the config call in your Google tag:
gtag('config', 'G-XXXXXXXXXX', {
debug_mode: true
});Then open Admin > DebugView (under Data display in the property column). Pick your device from the device selector in the top left if more than one debug device is active.
A normal first load looks like this in the stream:
session_startfirst_visit(for a new browser)page_view
Click any event to see its parameters, such as page_location, page_title, and engagement_time_msec. When enhanced measurement is on, scrolling to the bottom of a page adds a scroll event, and clicking an outbound link adds click.
DebugView also groups events by minute and shows the user properties set on the device. If you set a custom event later in the course, this is the place to check that its parameters have the spelling and values you intended.
A worked verification pass
Here is a complete pass for a new site that uses the manually pasted tag.
- Open the page source and confirm the snippet is high in the
<head>with the rightG-ID. - Connect the site in Tag Assistant. Confirm one Google tag, one ID, and that it matches the data stream.
- Add
debug_mode: trueto the config call on a staging copy, or use the Tag Assistant connection on production. - Load the home page, scroll down, and click one outbound link.
- In DebugView, confirm
page_view, thenscroll, thenclickappear in order for your device. - In Realtime, confirm the user count increased and the page title appears.
- Remove the debug flag, reload, and confirm Realtime still shows the page view.
You can also confirm the network call yourself. Open browser developer tools, go to the Network tab, and filter for collect. Each event sends a request to a google-analytics.com/g/collect address. The tid parameter in the request is the Measurement ID, and en is the event name. A status of 200 or 204 means the request was accepted by the server. A blocked or cancelled request points to an extension or a firewall.
Reading the results: common patterns
| What you see | Likely cause | Next step |
|---|---|---|
| Tag Assistant finds no Google tag | Snippet missing, in the wrong template, or cached page | View source on the live page, clear the cache, republish |
| Tag found, wrong `G-` ID | Wrong ID pasted, or ID from another stream | Copy the ID from Admin > Data streams again |
| Same `G-` ID listed twice | Tag installed by two routes, such as plugin plus hard-coded | Remove one install |
| Tag fires, nothing in DebugView | Debug mode not on, or wrong device selected | Use Tag Assistant connection, check the device selector |
| DebugView works, Realtime empty | Looking at the wrong property or stream | Check property name and the stream filter |
| Network request blocked | Ad blocker or privacy extension | Test in a clean profile |
| Hits sent but with consent denied | Consent default blocks storage | Test with consent granted, then review the banner |
Edge cases
Single-page applications. On a site that changes content without a full page reload, the tag sends page_view events from browser history changes when enhanced measurement's page changes setting is on. If the Realtime report shows only the first page of a visit, check that setting.
Cross-domain flows. If checkout is on another domain, you may see a new session start there. That is a configuration topic, but you can spot it during verification: a user appears twice, once per domain.
Internal traffic. Your own test visits are real data. If you do not filter them, they inflate counts. Verify first, then define internal traffic rules so later tests do not pollute reports.
Staging sites. If a staging site uses the production ID, test events land in production data. Use a separate property or stream for staging, or only test with debug mode on and filter debug traffic.
Processing delay. Realtime and DebugView are fast. Standard reports are not. Do not conclude that the install failed because yesterday's test is not in the Reports snapshot yet.
Summary of the method
Start from the page and work towards the property. Tag Assistant proves the tag and ID. DebugView proves the events and their parameters. Realtime proves data lands in the property you expect. When all three agree, the install is sound, and you can move on to checking for duplicates.
Exercise
You paste the Google tag into your site and open GA4 Realtime, but it shows 0 users. Tag Assistant reports that the Google tag loads with the ID G-AAAA111111. Your data stream shows the Measurement ID G-BBBB222222. What is the most likely problem, and how do you fix it?
Show answer
The tag sends data to a different stream or property than the one you are viewing, because the ID in the snippet does not match the data stream. Replace G-AAAA111111 in the snippet (both the script URL and the config call) with the Measurement ID G-BBBB222222 from Admin > Data streams, republish, and check Realtime again.
Exercise
You turn on debugmode in the config call and load your page. DebugView shows pageview, but no scroll event after you scroll to the bottom of the page. Which setting should you check, and where?
Show answer
Check that enhanced measurement is on for the web data stream, and that the Scrolls option is enabled. Find it in Admin > Data streams > your web stream > Enhanced measurement. Without it, scroll events are not sent automatically.
Exercise
Realtime shows one user, and that user is you. Why is this not enough to conclude that the installation is correct on every page?
Show answer
Realtime only shows that some page sent data. Other page templates may lack the tag, and a duplicate tag or wrong ID on some pages would not show in a user count of one. Visit each page type and confirm with Tag Assistant and DebugView that the tag fires once per page with the right ID and events.