# Data & reporting

**URL:** https://meta.discourse.org/c/community-building/data-reporting/148.md?page=20

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 21

---

## [如何在“顶级推荐来源”报告中包含更多条目](https://meta.discourse.org/t/how-to-include-more-entries-in-the-top-referrers-report/135346)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**回覆:** 7\
**Last updated:** [2020年一月7日 10:09 UTC](https://meta.discourse.org/t/how-to-include-more-entries-in-the-top-referrers-report/135346 "2020-01-07T10:09:13Z")

</div>

“顶级引流者”报告仅显示前 10 名用户： /admin/reports/top\_referrers 我是否可以以任何方式自定义表格中的条目数量？

---

## [未识别的爬虫产生大量页面浏览量](https://meta.discourse.org/t/unidentified-crawler-with-high-amounts-of-pageviews/137738)

<div class="topic-metadata">

**Author:** [@anthonylavado](https://meta.discourse.org/u/anthonylavado)\
**回覆:** 6\
**Last updated:** [2020年一月5日 01:42 UTC](https://meta.discourse.org/t/unidentified-crawler-with-high-amounts-of-pageviews/137738 "2020-01-05T01:42:43Z")

</div>

大家好！ 当我们查看爬虫页面浏览量时，似乎有一个未识别的条目在一个月内积累了超过 50 万次页面浏览量： 是否有简单的方法可以查明这可能是什么？它似乎平均…

---

## [按指定时间范围统计用户每日、每周或总数据](https://meta.discourse.org/t/daily-weekly-or-total-stats-by-user-over-a-specified-time-range/275167)

<div class="topic-metadata">

**Author:** [@Grayden\_Shand](https://meta.discourse.org/u/Grayden_Shand)\
**回覆:** 0\
**Last updated:** [2019年十二月31日 20:08 UTC](https://meta.discourse.org/t/daily-weekly-or-total-stats-by-user-over-a-specified-time-range/275167 "2019-12-31T20:08:57Z")

</div>

\-- 覆盖率：'week'、'all' 或 'date' -- \[参数\] -- date :start\_date = 2019-08-27 -- date :end\_date = 2019-09-30 -- text :coverage = week WITH date\_range AS ( SELECT date\_trunc('day', dd):: date AS "date", EXTRACT(week...

---

## [综合页面浏览量：私有社区中的登录用户与匿名用户对比](https://meta.discourse.org/t/consolidated-pageviews-logged-in-users-vs-anonymous-in-a-private-community/137271)

<div class="topic-metadata">

**Author:** [@smileypants707](https://meta.discourse.org/u/smileypants707)\
**回覆:** 1\
**Last updated:** [2019年十二月29日 10:08 UTC](https://meta.discourse.org/t/consolidated-pageviews-logged-in-users-vs-anonymous-in-a-private-community/137271 "2019-12-29T10:08:59Z")

</div>

这里是新手问题之王，又来提问了。 在我的管理仪表板中，我可以看到整合后的页面浏览量。对于每一天，都有已登录用户、匿名用户和网络爬虫的统计数据。 我的社区目前设置为…

---

## [reply\_count 和 post\_count 有什么区别？](https://meta.discourse.org/t/whats-the-difference-between-reply-count-and-post-count/137118)

<div class="topic-metadata">

**Author:** [@tkrunning](https://meta.discourse.org/u/tkrunning)\
**回覆:** 2\
**Last updated:** [2019年十二月26日 23:56 UTC](https://meta.discourse.org/t/whats-the-difference-between-reply-count-and-post-count/137118 "2019-12-26T23:56:11Z")

</div>

大家好，我正在尝试获取当前登录用户的主题数量和回复数量，因此我想通过检查 /session/current.json 来获取这两项数据。topic\_count 返回了我预期的结果，但 reply\_count 非常不同…

---

## [在50+个主题中至少回复一次？](https://meta.discourse.org/t/reply-at-least-once-on-50-topics/281551)

<div class="topic-metadata">

**Author:** [@Steven](https://meta.discourse.org/u/Steven)\
**回覆:** 0\
**Last updated:** [2019年十二月23日 23:23 UTC](https://meta.discourse.org/t/reply-at-least-once-on-50-topics/281551 "2019-12-23T23:23:44Z")

</div>

大家好！ 我想请大家帮忙解决一个查询问题。我想创建一个徽章，当有人在至少一个主题中至少回复一次时授予该徽章。 到目前为止，利用本线程中的不同 SQL 查询，我已经完成了简单的部分：50 个声望……

---

## [如果不在“bookmarks”表中，书签存储在哪张表中？](https://meta.discourse.org/t/in-what-table-are-bookmarks-stored-if-not-bookmarks/136865)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回覆:** 4\
**Last updated:** [2019年十二月23日 20:26 UTC](https://meta.discourse.org/t/in-what-table-are-bookmarks-stored-if-not-bookmarks/136865 "2019-12-23T20:26:06Z")

</div>

我想查看所有人的书签。因此，我在数据探索器中尝试了这个简单的查询。 SELECT \* from bookmarks 该查询未返回任何结果。我添加了自己的书签并再次运行查询。仍然没有结果。书签在哪里……

---

## [获取仪表板上报告中未包含的使用信息](https://meta.discourse.org/t/getting-information-about-usage-that-is-not-in-reports-on-dashboard/136352)

<div class="topic-metadata">

**Author:** [@Viveka1](https://meta.discourse.org/u/Viveka1)\
**回覆:** 15\
**Last updated:** [2019年十二月18日 01:54 UTC](https://meta.discourse.org/t/getting-information-about-usage-that-is-not-in-reports-on-dashboard/136352 "2019-12-18T01:54:07Z")

</div>

你好 :smiley: 有没有办法获取 Discourse 论坛的总注册用户数？即不是登录次数、页面浏览量或活跃用户数，而是会员总数？ 另外，搜索功能是否具有一定的灵活性？

---

## [User stats wrong/not up to date](https://meta.discourse.org/t/user-stats-wrong-not-up-to-date/54429)

<div class="topic-metadata">

**Author:** [@steko](https://meta.discourse.org/u/steko)\
**回覆:** 10\
**Last updated:** [2019年十二月12日 22:21 UTC](https://meta.discourse.org/t/user-stats-wrong-not-up-to-date/54429 "2019-12-12T22:21:35Z")

</div>

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/ If I’m not mistaken, various numbers shown for the default view (last we…

---

## [修改徽章查询以包含未列出主题？](https://meta.discourse.org/t/amend-badge-query-to-include-unlisted-topics/281541)

<div class="topic-metadata">

**Author:** [@Arcaxon](https://meta.discourse.org/u/Arcaxon)\
**回覆:** 1\
**Last updated:** [2019年十二月11日 16:07 UTC](https://meta.discourse.org/t/amend-badge-query-to-include-unlisted-topics/281541 "2019-12-11T16:07:16Z")

</div>

您好，我正在尝试创建一个徽章查询，以便当有人回复未公开帖子时授予徽章。 遗憾的是，常规查询似乎出于某种原因忽略了“未公开”帖子，导致无法授予徽章。 以下是该查询……

---

## [每月评论总数](https://meta.discourse.org/t/total-number-of-comments-per-month/135201)

<div class="topic-metadata">

**Author:** [@irina\_wp](https://meta.discourse.org/u/irina_wp)\
**回覆:** 2\
**Last updated:** [2019年十二月5日 20:50 UTC](https://meta.discourse.org/t/total-number-of-comments-per-month/135201 "2019-12-05T20:50:43Z")

</div>

你好！是否可以查询某个类别中在特定月份发布的评论总数？如果可以，具体该如何操作？谢谢！

---

## [Need help with an SQL badge query](https://meta.discourse.org/t/need-help-with-an-sql-badge-query/72021)

<div class="topic-metadata">

**Author:** [@Bernstein](https://meta.discourse.org/u/Bernstein)\
**回覆:** 5\
**Last updated:** [2019年十二月3日 10:34 UTC](https://meta.discourse.org/t/need-help-with-an-sql-badge-query/72021 "2019-12-03T10:34:53Z")

</div>

I’m not well-versed in these queries but I have been using this (and others with different post requirements) query I got from the Discourse meta site to reward posting to a particular category. SELECT P.user\_id, MIN(P.…

---

## [为什么我的统计数据会显示匿名用户，即使我 100% 使用 SSO？](https://meta.discourse.org/t/why-do-my-stats-show-anonymous-users-when-im-100-sso/128745)

<div class="topic-metadata">

**Author:** [@Cardinalflyer](https://meta.discourse.org/u/Cardinalflyer)\
**回覆:** 2\
**Last updated:** [2019年十一月24日 23:14 UTC](https://meta.discourse.org/t/why-do-my-stats-show-anonymous-users-when-im-100-sso/128745 "2019-11-24T23:14:40Z")

</div>

我的网站使用单点登录（SSO），在用户登录或注册之前，不允许任何人从我的 SSO 认证站点返回。 今天，我首次在仪表板中的页面浏览量条形图中看到了两个匿名用户。这可能是如何发生的……

---

## [Google Analytics 是否仅显示已登录用户？](https://meta.discourse.org/t/does-google-analytics-only-show-logged-in-users/133515)

<div class="topic-metadata">

**Author:** [@orchardstreet](https://meta.discourse.org/u/orchardstreet)\
**回覆:** 2\
**Last updated:** [2019年十一月16日 03:02 UTC](https://meta.discourse.org/t/does-google-analytics-only-show-logged-in-users/133515 "2019-11-16T03:02:07Z")

</div>

这是使用 Discourse 中的 Google Analytics 快速设置进行的分析。我将 nginx 访问日志与 Analytics 数据进行对比，发现 Analytics 似乎通常只追踪已登录用户。例如，我的日志中显示有 IP 地址发布内容……

---

## [私人论坛中的爬虫？](https://meta.discourse.org/t/crawlers-in-a-private-forum/133273)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回覆:** 1\
**Last updated:** [2019年十一月13日 10:41 UTC](https://meta.discourse.org/t/crawlers-in-a-private-forum/133273 "2019-11-13T10:41:14Z")

</div>

我们在 WordPress 网站上使用 SSO，那么如何设置网络爬虫？数量虽少，但涉及敏感信息，因此即使是少量的爬虫也令人担忧。我们每日汇总页面浏览量的典型细分情况是……

---

## [报告中页面浏览量异常偏高](https://meta.discourse.org/t/abnormally-high-pageviews-in-reporting/132855)

<div class="topic-metadata">

**Author:** [@lliddell](https://meta.discourse.org/u/lliddell)\
**回覆:** 5\
**Last updated:** [2019年十一月11日 15:54 UTC](https://meta.discourse.org/t/abnormally-high-pageviews-in-reporting/132855 "2019-11-11T15:54:19Z")

</div>

注意到我们的页面浏览量非常高（接近800），这显然不合理。在刷新页面和进行常规设置时，更合理的数值应在100-200之间。此外，还值得……

---

## [独立访客（包括登录用户和匿名用户）](https://meta.discourse.org/t/unique-visitors-including-logged-in-and-anonymous/132128)

<div class="topic-metadata">

**Author:** [@SSebastian](https://meta.discourse.org/u/SSebastian)\
**回覆:** 6\
**Last updated:** [2019年十一月1日 00:26 UTC](https://meta.discourse.org/t/unique-visitors-including-logged-in-and-anonymous/132128 "2019-11-01T00:26:38Z")

</div>

您好！ 在哪个部分可以查看每日独立访客数（包括已登录用户、匿名用户和爬虫）？ 谢谢！

---

## [搜索词报告是如何生成的？](https://meta.discourse.org/t/how-is-search-terms-report-produced/128727)

<div class="topic-metadata">

**Author:** [@olegbc1](https://meta.discourse.org/u/olegbc1)\
**回覆:** 2\
**Last updated:** [2019年十月23日 15:14 UTC](https://meta.discourse.org/t/how-is-search-terms-report-produced/128727 "2019-10-23T15:14:33Z")

</div>

我正在尝试构建一个 SQL 查询，以显示任意给定日期范围内的热门搜索项目及其点击率（CTR）。有人知道“搜索日志”报告是如何生成的吗？（该报告位于 …/admin/logs/search\_logs?period=weekly）

---

## [团体参观活动](https://meta.discourse.org/t/group-visit-activity/275162)

<div class="topic-metadata">

**Author:** [@dstodgel](https://meta.discourse.org/u/dstodgel)\
**回覆:** 3\
**Last updated:** [2019年十月22日 23:05 UTC](https://meta.discourse.org/t/group-visit-activity/275162 "2019-10-22T23:05:08Z")

</div>

群组访问活动 我一直在研究查看群组活动的查询。 独立访客 总访问次数 移动设备与桌面设备访问 群组成员访问比例 每次访问平均阅读时间 每次访问平均阅读帖子数…

---

## [DAU 与每日活跃用户 SQL](https://meta.discourse.org/t/dau-and-daily-engaged-users-sql/131183)

<div class="topic-metadata">

**Author:** [@slackmoehrle](https://meta.discourse.org/u/slackmoehrle)\
**回覆:** 2\
**Last updated:** [2019年十月16日 19:57 UTC](https://meta.discourse.org/t/dau-and-daily-engaged-users-sql/131183 "2019-10-16T19:57:32Z")

</div>

我的上级希望以不同的方式查看我们社区的数据统计。 我在哪里可以找到关于日活跃用户（DAU）和日活跃互动用户的 SQL 查询语句？

---

## [在指定时间段内发布首帖的用户](https://meta.discourse.org/t/users-with-first-post-within-period/275155)

<div class="topic-metadata">

**Author:** [@ThunderThighs](https://meta.discourse.org/u/ThunderThighs)\
**回覆:** 5\
**Last updated:** [2019年九月18日 22:56 UTC](https://meta.discourse.org/t/users-with-first-post-within-period/275155 "2019-09-18T22:56:33Z")

</div>

你好。我是一名 SQL 新手。我希望能够根据用户名，在指定的时间段内拉取首次发帖的用户列表。 请注意，这是指他们首次发帖，而非首次注册。我们的使用场景与大多数情况不同……

---

## [综合页面浏览量准确性](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193)

<div class="topic-metadata">

**Author:** [@L30110](https://meta.discourse.org/u/L30110)\
**回覆:** 19\
**Last updated:** [2019年八月25日 11:05 UTC](https://meta.discourse.org/t/consolidated-pageviews-accuracy/107193 "2019-08-25T11:05:58Z")

</div>

不确定这是否真的与综合视图相关，还是更基本的问题，但我看到统计数据声称我的网站上有大量“匿名用户”的页面浏览量，而我的网站仅允许已登录用户访问。除了分页…

---

## [是否有方法搜索没有工作人员回复的帖子](https://meta.discourse.org/t/is-there-a-way-to-search-by-posts-with-no-staff-replies-on-it/126004)

<div class="topic-metadata">

**Author:** [@James\_Anderson](https://meta.discourse.org/u/James_Anderson)\
**回覆:** 4\
**Last updated:** [2019年八月17日 03:24 UTC](https://meta.discourse.org/t/is-there-a-way-to-search-by-posts-with-no-staff-replies-on-it/126004 "2019-08-17T03:24:41Z")

</div>

有没有办法搜索没有工作人员回复的帖子？这样会更容易找到帖子！ 非常感谢

---

## [返回所有未收到管理员回复的非私信主题](https://meta.discourse.org/t/return-all-non-pm-topics-that-have-not-received-a-staff-reply/275165)

<div class="topic-metadata">

**Author:** [@tshenry](https://meta.discourse.org/u/tshenry)\
**回覆:** 0\
**Last updated:** [2019年八月17日 00:14 UTC](https://meta.discourse.org/t/return-all-non-pm-topics-that-have-not-received-a-staff-reply/275165 "2019-08-17T00:14:29Z")

</div>

这是应该返回所有未收到工作人员回复的非私信主题的查询： SELECT t.id topic\_id, category\_id FROM topics t WHERE t.deleted\_at IS NULL AND t.category\_id IS NOT NULL AND t.id NOT IN ( SE…

---

## [将用户名添加到两个查询中](https://meta.discourse.org/t/add-username-to-two-queries/123531)

<div class="topic-metadata">

**Author:** [@SidV](https://meta.discourse.org/u/SidV)\
**回覆:** 1\
**Last updated:** [2019年七月22日 08:39 UTC](https://meta.discourse.org/t/add-username-to-two-queries/123531 "2019-07-22T08:39:10Z")

</div>

您好，我决定为此开启一个新主题： 过去六个月的高质量用户 关于过去六个月的高质量用户，我使用了查询的第二版。 我添加了用户名和一个 \`:limit\` 参数。 -- \[p…

---

## [需要 IP 重复查询](https://meta.discourse.org/t/need-a-ip-duplication-query/123229)

<div class="topic-metadata">

**Author:** [@ThorY](https://meta.discourse.org/u/ThorY)\
**回覆:** 3\
**Last updated:** [2019年七月17日 19:25 UTC](https://meta.discourse.org/t/need-a-ip-duplication-query/123229 "2019-07-17T19:25:06Z")

</div>

你好，我在论坛、GitHub 和谷歌上搜索了，但未能找到用于搜索重复 IP 地址的 #plugin:data-explorer 查询语句。有人可以分享一个吗？

---

## [已活跃用户](https://meta.discourse.org/t/users-who-ve-become-active/275161)

<div class="topic-metadata">

**Author:** [@alexs](https://meta.discourse.org/u/alexs)\
**回覆:** 0\
**Last updated:** [2019年七月12日 09:43 UTC](https://meta.discourse.org/t/users-who-ve-become-active/275161 "2019-07-12T09:43:59Z")

</div>

在开发者 (@aluxian) 的协助下，我对其进行了调整，用于计算在特定时间段内加入的用户中，在另一特定时间段内发布过 X 次内容的用户所占的百分比。您可以利用此功能来查看是否...

---

## [如何从仪表板清除所有历史统计数据](https://meta.discourse.org/t/how-to-clear-all-historical-statistics-from-dashboard/121820)

<div class="topic-metadata">

**Author:** [@Destry\_Hunt](https://meta.discourse.org/u/Destry_Hunt)\
**回覆:** 2\
**Last updated:** [2019年七月11日 09:39 UTC](https://meta.discourse.org/t/how-to-clear-all-historical-statistics-from-dashboard/121820 "2019-07-11T09:39:36Z")

</div>

我克隆了当前在一个域名上运行的现有论坛，以便在另一个域名（以及单独的 VPS）上启动一个几乎相同的论坛。现有论坛的所有配置都完全符合我的要求…

---

## [X 个月前发帖最多的用户及该时间段内发帖用户总数](https://meta.discourse.org/t/users-who-posted-the-most-x-months-ago-how-many-users-in-total-have-posted-within-that-time-period/275160)

<div class="topic-metadata">

**Author:** [@alexs](https://meta.discourse.org/u/alexs)\
**回覆:** 0\
**Last updated:** [2019年七月8日 11:59 UTC](https://meta.discourse.org/t/users-who-posted-the-most-x-months-ago-how-many-users-in-total-have-posted-within-that-time-period/275160 "2019-07-08T11:59:18Z")

</div>

我已调整一份报告以创建此查询，用于查看哪些用户在 X 个月前发布过帖子，以及在该时间段内共有多少用户发布过帖子。 -- \[参数\] -- int :months\_ago = 1 WITH query\_period AS ( S…

---

## [如何查询未激活用户的电子邮件列表](https://meta.discourse.org/t/how-to-query-an-email-list-of-users-that-are-not-actived/122024)

<div class="topic-metadata">

**Author:** [@Phuong\_SuSu](https://meta.discourse.org/u/Phuong_SuSu)\
**回覆:** 3\
**Last updated:** [2019年七月4日 00:24 UTC](https://meta.discourse.org/t/how-to-query-an-email-list-of-users-that-are-not-actived/122024 "2019-07-04T00:24:02Z")

</div>

你好， 我想要一份未激活用户的电子邮件列表，以便向他们发送提醒。 我还建议 Discourse 增加以下功能： 在 x 天后自动重新发送激活邮件，或提供批量重新发送...

[上一頁](https://meta.discourse.org/c/community-building/data-reporting/148.md?page=19)

[下一頁](https://meta.discourse.org/c/community-building/data-reporting/148.md?page=21)
