# Discourse metrics don't match Google metrics

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

<div class="post-metadata">

### Author: ![Mila\_Ferrer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mila_ferrer/32/115206_2.png) [@Mila\_Ferrer](https://meta.discourse.org/u/Mila_Ferrer)
#### Post date: [5월 15, 2018, 7:32오후 UTC](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564/1 "2018-05-15T19:32:54Z")

</div>

Hello!

I manage a diabetes online community and have noticed our Google metrics are way different from the Discourse ones. Any idea why? All the settings seem to be okay, i would aprreciate any help or guidance.

---

<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: [5월 15, 2018, 7:45오후 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) …

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [5월 15, 2018, 7:47오후 UTC](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564/3 "2018-05-15T19:47:35Z")

</div>

Hi Mila,  
Are you referring to page views? i.e. Discourse pvs are higher than GA ones?

More info here: [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)

---

<div class="post-metadata">

### Author: ![Mila\_Ferrer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mila_ferrer/32/115206_2.png) [@Mila\_Ferrer](https://meta.discourse.org/u/Mila_Ferrer)
#### Post date: [5월 15, 2018, 8:07오후 UTC](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564/4 "2018-05-15T20:07:44Z")

</div>

Gracias will read them today!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [10월 31, 2020, 9:41오전 UTC](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564/5 "2020-10-31T09:41:54Z")

</div>


