# Discourse metrics don't match Google metrics

**URL:** https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564
**Category:** Data & reporting
**Created:** [May 15, 2018, 7:32pm UTC](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564 "2018-05-15T19:32:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [May 15, 2018, 7:45pm UTC](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564/2 "2018-05-15T19:45:52Z")

</div>

There are a few topics about this already. The simplest explanation that I have seen is in this post:

> [@Why there is huge difference in Pageviews tracking number on discourse admin dahboard and on google analytics](https://meta.discourse.org/t/why-there-is-huge-difference-in-pageviews-tracking-number-on-discourse-admin-dahboard-and-on-google-analytics/25306/26):
>
> Since my original message I have reconciled multiple sites multiple times. We simply count differently to what google does. Google uses JavaScript ajax calls to count page views. We work hard only to issue them on first load or when you transition routes (like move from topics to latest list) Our Page View counting is performed on the “raw requests” made (accounting for a header that informs us when to count) Bots, JavaScript disabled are counted by us but omitted from Google.

A detailed explanation of how Discourse counts crawler traffic is in this topic:

> [@Smarter handling of random crawler traffic](https://meta.discourse.org/t/smarter-handling-of-random-crawler-traffic/78227):
>
> Following: [https://github.com/discourse/discourse/commit/7b562d2f46c60df5323ac06731cf341d95d85027](https://github.com/discourse/discourse/commit/7b562d2f46c60df5323ac06731cf341d95d85027) We now have much improved crawler/bot detection. In the past we have seen many customers complain that pageviews in Google analytics are way off from pageviews in Discourse. This change much more accurately splits up the traffic so both reports are more inline. While analysing this problem I noticed that we are allowing a gigantic amount of crawling from many probably pointless sources. [DotBot](https://moz.com/researchtools/ose/dotbot) …

---

_[View the full topic](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564)._
