# 综合页面浏览量准确性

**URL:** https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193
**Category:** Data & reporting
**Created:** [2019年一月22日 16:51 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193 "2019-01-22T16:51:54Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![L30110](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@L30110](https://meta.discourse.org/u/L30110)
#### Post date: [2019年一月22日 16:51 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/1 "2019-01-22T16:51:54Z")

</div>

Not sure if this really relates to the consolidated view or a more basic issue, but I’m seeing the stats claim a lot of “anonymous user” page views on my site, which ONLY permits access by logged-in users. Other than pages like privacy policy, TOS, etc. which I’d like to block from non-logged in users (but can’t in Discourse currently), no other pages are accessible at all unless you’re logged in. The crawler count is similarly suspect, but with a much smaller actual count.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2019年一月22日 18:03 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/2 "2019-01-22T18:03:29Z")

</div>

It’s not related to the new report which is using the same data you can find in other reports for a long time.

Concerning other questions:

> [@L30110](#):
>
> The crawler count is similarly suspect

What’s your basis to consider it suspect?

> [@L30110](#):
>
> but I’m seeing the stats claim a lot of “anonymous user” page views on my site, which ONLY permits access by logged-in user

Even if only logged in, as you said some pages are still accessible as you said, especially /login. Can’t tell you exactly what’s going on with your instance with no data, but this is what I see on a similar instance:

 ![57](https://global.discourse-cdn.com/meta/original/3X/a/1/a1a1aa3ad2bf594a8dc9c98e1cee53ec396d0097.png)

---

<div class="post-metadata">

### Author: ![10ColorsTenkara](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/10colorstenkara/32/94154_2.png) [@10ColorsTenkara](https://meta.discourse.org/u/10ColorsTenkara)
#### Post date: [2019年一月22日 18:13 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/3 "2019-01-22T18:13:33Z")

</div>

I was just wondering about a similar thing. I just updated to beta 9 and saw the following:

 ![Screenshot_20190122-130715_1](https://global.discourse-cdn.com/meta/original/3X/f/c/fc54868282fb912a289e1d08672e80f80f904cfa.png)

It’s telling me I have way more logged in users than even exist on my forum. Where’s this data gathered from?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2019年一月22日 18:49 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/4 "2019-01-22T18:49:08Z")

</div>

> [@10ColorsTenkara](#):
>
> It’s telling me I have way more logged in users than even exist on my forum.

That is **Logged in users PAGEVIEWS** , as one user can have hundreds of pageviews in one day.

---

<div class="post-metadata">

### Author: ![10ColorsTenkara](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/10colorstenkara/32/94154_2.png) [@10ColorsTenkara](https://meta.discourse.org/u/10ColorsTenkara)
#### Post date: [2019年一月22日 19:03 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/5 "2019-01-22T19:03:27Z")

</div>

Cheers. 🤦 That’s what I get for not reading carefully enough. Stupid mistake on my part.

---

<div class="post-metadata">

### Author: ![TheBestPessimist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebestpessimist/32/247704_2.png) [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)
#### Post date: [2019年一月23日 06:05 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/6 "2019-01-23T06:05:42Z")

</div>

> [@Falco](#):
>
> That is **Logged in users PAGEVIEWS**

Apparently that text is not _that intuitive_.

Would

> from Crawlers  
> from Logged in users  
> from Anonymous cowards

look simpler to understand @10ColorsTenkara and @L30110 ?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2019年一月23日 06:50 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/7 "2019-01-23T06:50:46Z")

</div>

> [@TheBestPessimist](#):
>
> from Anonymous cowards

Why, I never! How dare you sir! 😉

---

<div class="post-metadata">

### Author: ![TheBestPessimist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebestpessimist/32/247704_2.png) [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)
#### Post date: [2019年一月23日 07:02 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/8 "2019-01-23T07:02:00Z")

</div>

After a lot of years, that title still makes me giggle a little 😊

---

<div class="post-metadata">

### Author: ![10ColorsTenkara](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/10colorstenkara/32/94154_2.png) [@10ColorsTenkara](https://meta.discourse.org/u/10ColorsTenkara)
#### Post date: [2019年一月23日 13:51 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/9 "2019-01-23T13:51:18Z")

</div>

Yes, I like that. Good suggestion.

---

<div class="post-metadata">

### Author: ![Alexander\_Wright](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexander_wright/32/119518_2.png) [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)
#### Post date: [2019年一月23日 21:49 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/10 "2019-01-23T21:49:16Z")

</div>

> [@j.jaffeux](#):
>
> What’s your basis to consider it suspect?

I’ve a similar query. I’m seeing a consistent 2000ish crawler hits per day. Is this all the login page? I likewise allow access only to logged in users:

 ![42](https://global.discourse-cdn.com/meta/original/3X/e/3/e35865a80002aa1beb54cf63328e287e1ed63fc7.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2019年一月24日 03:51 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/11 "2019-01-24T03:51:02Z")

</div>

> [@Alexander\_Wright](#):
>
> I’m seeing a consistent 2000ish crawler hits per day. Is this all the login page?

Very likely yes. Run the crawler report in Admin, Reports to see details: `/admin/reports/web_crawlers`

---

<div class="post-metadata">

### Author: ![Alexander\_Wright](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexander_wright/32/119518_2.png) [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)
#### Post date: [2019年一月24日 08:28 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/12 "2019-01-24T08:28:57Z")

</div>

Mystery solved. The ops team put an uptime checker on the site:

`LogicMonitor SiteMonitor/1.0: 50339`

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2019年一月24日 15:52 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/13 "2019-01-24T15:52:32Z")

</div>

On a login-required site that I manage I’m getting ~80K crawlers per day.

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/9/99c9c4838349df52066ee11ae3bee627c12fe09f.png)

I noticed that sometime in late September traffic jumped significantly and have wondered what the explanation was

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/e/0e71a5a0d75dda7567cd513e305ef815ac12e653.png)

I suppose I should go look at the NGINX logs and see if I can figure out what the heck is hitting the site 80K times a day.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2019年一月24日 16:03 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/14 "2019-01-24T16:03:17Z")

</div>

Did you look at the report jeff linked 2 posts before yours ?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2019年一月24日 16:32 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/15 "2019-01-24T16:32:44Z")

</div>

Oh. Golly. No, I had not noticed. 😲

Oh! It’s not uptime robot (that’d be just 24 \* 60 = 1440), but Haproxy doing a `http-keep-alive`. But

24 hours \* 60 minutes \* 2 instances \* 2/minute is only 5760, which is a far cry from 80K. The Web Crawler page for yesterday and today shows 140K requests from `-`.

OK. (\* 24 60 60) is 86400, so that’s what’s happening.

I don’t see how haproxy is making that many requests, but maybe that’s because I don’t know what I’m doing.

Is there a way to filter those? E.g., not count requests from a certain IP?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2019年一月24日 16:57 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/16 "2019-01-24T16:57:01Z")

</div>

We allow blacklisting through user agent: /admin/site\_settings/category/all\_results?filter=crawler

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2019年一月24日 17:03 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/17 "2019-01-24T17:03:48Z")

</div>

Ah! That’s a start, but it seems that neither haproxy nor uptime robot is sending a User Agent (?). And if I were to blacklist them, they’d not be able to access, right?

I want haproxy and uptime robot to be able to see that the site is up without counting their checks as page views.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2019年一月25日 03:25 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/18 "2019-01-25T03:25:40Z")

</div>

Everyone should be sending a `user-agent`.. so if they aren’t, that’s not just a bug but kinda designing for evil.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [2019年八月25日 08:32 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/19 "2019-08-25T08:32:55Z")

</div>

对我来说，它显示有 227 名登录用户，但我在网站上注册的还不到 100 人。我是不是理解错了？

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/3/23bceb625438109595a38ff69b0a5a9b476dd669.png)

---

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [2019年八月25日 11:05 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193/20 "2019-08-25T11:05:58Z")

</div>

> [@Falco](#):
>
> 这是 **已登录用户的页面浏览量** ，因为一个用户一天内可以产生数百次页面浏览。

这就是它的意思。它不是指当天已登录用户的数量。

[下一頁](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193.md?page=2)
