# User visits: "last 7 days" less than "yesterday"

**URL:** https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714
**Category:** Bug
**Created:** [6 ביוני,‏ 2015,‏ 7:20am UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714 "2015-06-06T07:20:33Z")
**Posts on this page:** 11
**Page:** 1

<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: [6 ביוני,‏ 2015,‏ 7:20am UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/1 "2015-06-06T07:20:33Z")

</div>

I noticed that the number of user visits in the “last 7 days” column is lower than the number of visits in the “yesterday” column.

Looks like a bug unless I’m misunderstanding these columns.

 ![](https://global.discourse-cdn.com/meta/original/3X/2/9/29b3c3023d0969b206b0b2e31295b0495a877c3e.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [6 ביוני,‏ 2015,‏ 7:34am UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/2 "2015-06-06T07:34:52Z")

</div>

Click on the link to see where the maths failed.

---

<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: [6 ביוני,‏ 2015,‏ 11:33am UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/3 "2015-06-06T11:33:02Z")

</div>

Do you mean per-day detailed visits statistics?  
If yes, then here it is:

 ![](https://global.discourse-cdn.com/meta/original/3X/9/5/95216431c743ccb6f44a847c0eb08703697cda44.png)

---

<div class="post-metadata">

### Author: ![AmiAthena](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amiathena/32/116030_2.png) [@AmiAthena](https://meta.discourse.org/u/AmiAthena)
#### Post date: [6 ביוני,‏ 2015,‏ 12:48pm UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/4 "2015-06-06T12:48:12Z")

</div>

It appears to be showing the stats from 7 days _ago_, rather than the cumulative stats for the past 7 days. (And the same for 30.)  
If the numbers are working as intended, then the wording is a little misleading, especially since all the other stats in that section work the other way.

---

<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: [6 ביוני,‏ 2015,‏ 1:06pm UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/5 "2015-06-06T13:06:00Z")

</div>

Hm I see. Does it make sense to compare yesterday’s value with the day that was 7 days ago? I can’t see how that is useful. Any ideas?

---

<div class="post-metadata">

### Author: ![AmiAthena](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amiathena/32/116030_2.png) [@AmiAthena](https://meta.discourse.org/u/AmiAthena)
#### Post date: [6 ביוני,‏ 2015,‏ 1:19pm UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/6 "2015-06-06T13:19:25Z")

</div>

I can see a value in tracking how active the forum is over time, but it does seem weird to lump that in with a bunch of numbers that are cumulative rather than comparative.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [6 ביוני,‏ 2015,‏ 3:12pm UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/7 "2015-06-06T15:12:00Z")

</div>

I see .. yes we should be consistent here, its confusing.

cc @neil

---

<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: [6 ביוני,‏ 2015,‏ 7:31pm UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/8 "2015-06-06T19:31:22Z")

</div>

Agreed, this is actually a bug @neil

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [15 ביוני,‏ 2015,‏ 5:20pm UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/9 "2015-06-15T17:20:17Z")

</div>

I pushed a fix to display user visits like other rows in that table. So, sums in the 7 day and 30 day column, and a total in the last column.

That data was originally in its own table, with these column headings: today, yesterday, 7 days ago ( **not** last 7 days), 30 days ago ( **not** last 30 days).

The number means how many unique visitors there were on a day. So if I am the only one who visits a site for 7 days in a row, the number of users who viewed the site on each day is 1. If I sum those over the last 7 days, then the result is 7. Is that useful? It could mean one person visiting every day, or 7 different people who each visit the site once. I guess it gives a general idea of how many visitors a site is getting, but isn’t intuitive.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [15 בספטמבר,‏ 2015,‏ 10:34am UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/10 "2015-09-15T10:34:20Z")

</div>

Assume we can close this, flag to reopen if I got it wrong

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [15 בספטמבר,‏ 2015,‏ 10:34am UTC](https://meta.discourse.org/t/user-visits-last-7-days-less-than-yesterday/29714/11 "2015-09-15T10:34:24Z")

</div>


