Google Analytics is showing no data, but code is installed
-
I’ve checked the source code of the site, and if tracking admins is left on, I can see that the analytics code is installed. It looks like this:
const configuration = { 'anonymize_ip': false, 'forceSSL': false, 'allow_display_features': false, }; const UACode = 'UA-xxxxxxxxx-1'; gtag('config', UACode, configuration);
I have both UA and GA4 set up in Google Analytics.
I tried turning off the login and just added the UA code. Didn’t affect it (looking at Realtime data)
I cleared the cache through WP-Rocket, and then turned WP-Rocket off altogether, to no avail.
I don’t know what else to do.
Please advise
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Google Analytics is showing no data, but code is installed’ is closed to new replies.