No page views appear in Google Analytics at all, even hours after setup
What you are seeing
No page views appear in Google Analytics at all, even hours after setup.
#Why it happens
The most common cause is a Measurement ID that is not a GA4 ID. Anything not starting with G- switches off every collection path silently. The next most common causes are that you saved less than 10 minutes ago, or the site is unlicensed.
#What to do
Check the Measurement ID starts with G-. Wait at least 10 minutes and reload the page as a reader would. If you are within 48 hours of first setup, GA4 itself may not be showing the data yet. Confirm the app is licensed. To see exactly what the tracker is doing, set the browser storage key capable-ga-debug to 1 in a reader's browser and reload: the console logs under [capable-ga-tracker].
#Settings involved
Setting | Where | What it does |
|---|---|---|
Connect Google Analytics / Disconnect | Settings > Apps > Google Analytics > Connect Google | Starts a Google sign-in popup. The connection is site-level: one admin connects once and the whole Confluence site uses it. Disconnect revokes access at Google and deletes the stored tokens. |
GA4 property | Settings > Apps > Google Analytics > Connect Google | Which GA4 property the in-Confluence reports read from. Also scopes the data stream, API secret and custom dimension controls. |
Data stream | Settings > Apps > Google Analytics > View tracking | Picking a web data stream fills in the Measurement ID for you. |
#Limits that apply here
Limit | Value | What happens |
|---|---|---|
GA4 data latency | - | New events and newly created custom dimensions take up to 48 hours to appear in Google Analytics. This is Google's behaviour, not the app's. |
Google connection scope | - | The Google connection is site-level, not per-user. One admin connects and everyone uses it. |
#Related
Views seem to be sent (no errors anywhere) but nothing lands in the property you are looking at
A valid-looking G- ID that belongs to a different or non-existent property. Google accepts
Search, comment and page create/update events never show up, but page views work fine
No Measurement Protocol API secret is stored. Google requires one for server-sent events;
Everything else
The rest of this family.
Found it? Good.
