Analytics connection gives “Error: The response is not a valid JSON response.”
-
Hi support team!
From WordPress admin while in incognito mode in Chrome, I’ve tried to setup and reset the Site Kit plugin several times but I keep getting this same error when trying to connect to the Google Analytics module.
“Error: The response is not a valid JSON response.”
Screenshot: https://drive.google.com/file/d/1CL9NgMJKoX8YzrJIu6l1X-S3cXfXGUKH/view?usp=sharing
From the chrome developer console, I see that this URL results in 403 error at this URL
/wp-json/google-site-kit/v1/modules/analytics/data/settings?_locale=userEverything is using HTTPS and we don’t have any other analytics plugins activated.
Our web hosting does have a Web Application Firewall, where I have white listed this user agent: Site Kit by Google/1.0
When going to Site Health, we have 2 recommended improvements: Remove inactive plugins and Have a default theme available.
Worth mentioning is Google Search Console works correctly, it’s only Google Analytics we’re having the issue with.
Appreciate your support, thank you!
- The topic ‘Analytics connection gives “Error: The response is not a valid JSON response.”’ is closed to new replies.