About a week ago I enabled Web Analytics for a site via Cloudflare. Since then, whenever I go to the Web Analytics section in the dashboard, it shows “Error fetching data” and no analytics are displayed. It looks like the data isn’t being collected or loaded properly. Does anyone knows what’s this problem and how I can fix it?
What steps have you taken to resolve the issue?
Refreshed the page multiple times. Tried accessing the section from different browsers. Verified that the domain is active on Cloudflare and also waited several days in case it was a delay in data propagation
What are the steps to reproduce the issue?
Go to the Cloudflare dashboard.
Navigate to Analytics & Logs > Web Analytics.
And in there I can see the message “Error fetching data” with no stats shown.
Hello, I tired the suggested fix of replacing the A record with the CNAME record pointing to WP Engine and also making sure they are proxied.
But after the change, the issue with the web analytics persists. I’m still seeing the “error fetching data” message under Analytics & Logs > Web Analytics section, and no stats are being displayed
I did notice an increase in the number of unique visitors on the Overview tab after the DNS change, so it seems like some data is flowing through but the Web Analytics section is still broken.
Is there anything else I can try to troubleshoot this? Any ideas on what might be causing the issue?
Can you confirm that for the website the you only have the 2 CNAMES one for the main domain and the other for the www subdomain? No other A or AAAA records.
Also can you confirm that the orange cloud proxy icon is on for both of these CNAMEs
You could try and disable, then re-enable the feature
I confirm that both CNAMEs (main domain and www) are proxied with the orange cloud, and there are no other A or AAAA records
Re-enabling web analytics sounds like a good idea, but I couldn’t find a specific “manage” button to disable and re-enable it. Were you referring to readding the entire domain to Cloudflare instead?