# User visit stats are not correct?

**URL:** https://meta.discourse.org/t/user-visit-stats-are-not-correct/44015
**Category:** Bug
**Created:** [May 10, 2016, 9:15pm UTC](https://meta.discourse.org/t/user-visit-stats-are-not-correct/44015 "2016-05-10T21:15:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pdx](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@pdx](https://meta.discourse.org/u/pdx)
#### Post date: [May 10, 2016, 9:15pm UTC](https://meta.discourse.org/t/user-visit-stats-are-not-correct/44015/1 "2016-05-10T21:15:03Z")

</div>

If I go into [Discourse Meta](https://meta.discourse.org/users), and select “Today” in the dropdown, I expect to see stats for today in the list below.

If I then sort the list by Visits, I’ll see some visitors with 1 visit and some with 2 (I assume that is because the query selects the past 24 hours, and not the last calendar date when finding visits)

If I click into the profile some of the users with 1 or 2 visits today, for example [Profile - Rene - Discourse Meta](https://meta.discourse.org/users/rene/activity)

According to the text at the top of the page, he was last seen “Apr 9th” - how is that possible if he has 1 visit in the last 24 hours? Are these timestamps only calculated every x hours?

Cheers!

---

<div class="post-metadata">

### Author: ![steko](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@steko](https://meta.discourse.org/u/steko)
#### Post date: [January 20, 2017, 5:39am UTC](https://meta.discourse.org/t/user-visit-stats-are-not-correct/44015/2 "2017-01-20T05:39:42Z")

</div>

This issue has already been observed before, see e.g.

> [@User stats wrong/not up to date](https://meta.discourse.org/t/user-stats-wrong-not-up-to-date/54429):
>
> I noticed something’s off with the stats of the Users page at my small forum (it’s really small, yes): [https://discorsi.openarchaeology.eu/users/](https://discorsi.openarchaeology.eu/users/) If I’m not mistaken, various numbers shown for the default view (last week) and other views (last month) are wrong or not up to date, showing actions (likes given and received, messages) that do not reflect the actual activity of those users. The view for last year seems correct though. I’m not sure there is a way to force a reset of the stats?

But it’s not clear how it can be fixed ☹

---

<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: [July 21, 2022, 6:57am UTC](https://meta.discourse.org/t/user-visit-stats-are-not-correct/44015/3 "2022-07-21T06:57:37Z")

</div>


