Data error in Analytics – The response is not a valid JSON response.
-
Hi support team!
From WordPress admin, 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.
“Data error in Analytics
The response is not a valid JSON response.”From the developer console, I see that this URL results in 414error at this URL
https://voidsec.com/wp-json/google-site-kit/v1/modules/analytics/data/report?metrics%5B0%5D%5Bexpression%5D=ga%3Ausers&dimensions%5B0%5D%5Bname%5D=ga%3AchannelGrouping&startDate=2021-02-20&endDate=2021-03-19&compareStartDate=2021-01-23&compareEndDate=2021-02-19&orderby%5BfieldName%5D=ga%3Ausers&orderby%5BsortOrder%5D=DESCENDING&limit=6&_locale=userEverything is using HTTPS and we don’t have any other analytics plugins activated.
Our web hosting does have both a Web Application Firewall (Modsecurity) and it is behind Cloudflare
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 page I need help with: [log in to see the link]
- The topic ‘Data error in Analytics – The response is not a valid JSON response.’ is closed to new replies.