Here are my stats for January 28th with CloudFlare:

enter image description here

And here are my stats for January 28th with Google Analytics:

enter image description here

Why might my statistical results be different between Google Analytics and CloudFlare's analytics?

On one side, Google Analytics is very reputable and been there for years. On the other side, CloudFlare is a CDN, thus your site's content is distributed around their servers around the globe, so they claim that their analytics are more accurate than other services (implying GA) who rely on JavaScript.

Note: Google Analytics is installed on pages automatically by Cloudflare. They inject it on all pages even 404 pages.

3 Answers 3


Google Analytics is based on JavaScript running on the client whereas CloudFlare's numbers are based on how many requests they get for each resource.

Analytics is more likely to be showing legitimate users running full browsers, whereas CloudFlare's requests could be coming from bots or other sources

  • I would also add that people have an option to opt out of Google Analytics, and not for cloudflare. Jan 29, 2015 at 8:26

The answer given is correct. If you want a more detailed explanation about why CloudFlare and Google Analytics would different, then please read this.


As CloudFlare's analytics come from the backend, they include every request for an image, favicon, CSS, etc. and confusingly calls it "page views". Google's analytics shows page views as the user would see and read them, a whole page containing images, html, css etc. and calls them "page views" as well.

  • That's inaccurate. Cloudflare includes "hits" for every item which got requested as opposed to "pageviews". The number of hits I have is 1,000,000 daily. Feb 6, 2015 at 0:09
  • That's what I meant, but I'll tidy the answer up if you find it unclear.
    – John Cave
    Feb 6, 2015 at 0:10
  • Got it, But what you said is irrelevant to the question, we are comparing page-views and not hits. Feb 6, 2015 at 0:11
  • Now I'm confused too. I just meant to point out CloudFlare is using an inaccurate word to describe what they're actually counting; files requested.
    – John Cave
    Feb 6, 2015 at 0:14
  • That's not true. Feb 6, 2015 at 0:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.