# What is "user visits" on the admin dashboard?

**URL:** https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092
**Category:** Data & reporting
**Tags:** dashboard-reports
**Created:** [2015年二月10日 20:33 UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092 "2015-02-10T20:33:18Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![SaraDev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saradev/32/335139_2.png) [@SaraDev](https://meta.discourse.org/u/SaraDev)
#### Post date: [2023年三月6日 22:41 UTC](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092/19 "2023-03-06T22:41:07Z")

</div>

您好 Cat，

在此回答您的问题：

[用户访问报告](https://meta.discourse.org/t/admin-dashboard-report-reference-guide/240233#user-visits-42)显示了所选时间段内（今天、昨天、过去 7 天、本月等）论坛的总用户访问次数。

具体来说，只要有唯一的登录用户访问网站，就会计为一次用户访问，每天最多一次。

例如，如果一个用户在一周内每天都访问了网站，Discourse 会将其计为 7 次用户访问。这就是为什么一个月的用户访问次数可能比您网站的总用户数还要多的原因。

如果您感兴趣，也可以在此处查看此报告的 Ruby 代码：[discourse/app/models/concerns/reports/visits.rb](https://github.com/discourse/discourse/blob/4c085873e5c4174e876304d8300462fb96a7fd6e/app/models/concerns/reports/visits.rb)

希望这对您有帮助！ 🙂

---

_[View the full topic](https://meta.discourse.org/t/what-is-user-visits-on-the-admin-dashboard/25092)._
