Tracking stopped after you changed the GA4 property

What you are seeing

Tracking stopped after you changed the GA4 property.


#Why it happens

Changing the property deliberately clears the Measurement ID and the API secret selection, because a data stream and its secrets belong to one property.


#What to do

Pick a data stream in the new property to restore the Measurement ID, re-pick or create the API secret, then Save.


#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.

Data stream

Settings > Apps > Google Analytics > View tracking

Picking a web data stream fills in the Measurement ID for you.

Measurement ID

Settings > Apps > Google Analytics > View tracking

The GA4 tag ID (G-XXXXXXXXXX). This is the single required setting: nothing is collected anywhere until it is set.



Found it? Good.