# Data & reporting

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

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

**Page:** 9

---

## [Gamification插件有什么疑问吗？](https://meta.discourse.org/t/are-there-any-queries-for-the-gamification-plugin/283161)

<div class="topic-metadata">

**Author:** [@Bryan\_Joseph](https://meta.discourse.org/u/Bryan_Joseph)\
**回覆:** 1\
**Last updated:** [2023年十月23日 18:59 UTC](https://meta.discourse.org/t/are-there-any-queries-for-the-gamification-plugin/283161 "2023-10-23T18:59:38Z")

</div>

有人有关于游戏化插件的任何问题吗，或者知道 cheers 积分存储在哪里？ 更新：刚刚算是弄明白了：

---

## [匿名浏览量一夜之间翻倍？](https://meta.discourse.org/t/anonymous-pageviews-doubling-overnight/283000)

<div class="topic-metadata">

**Author:** [@piffy](https://meta.discourse.org/u/piffy)\
**回覆:** 4\
**Last updated:** [2023年十月22日 16:42 UTC](https://meta.discourse.org/t/anonymous-pageviews-doubling-overnight/283000 "2023-10-22T16:42:28Z")

</div>

我注意到过去两天发生了这种情况： 我最近重建了我的实例，所以想知道这是否是页面浏览量计算方式的改变？其他人也看到这种模式吗？ 如果没有，你有什么建议……

---

## [所有类别下的所有组](https://meta.discourse.org/t/all-groups-associated-with-all-categories/282604)

<div class="topic-metadata">

**Author:** [@Srinivas\_Chilukuri1](https://meta.discourse.org/u/Srinivas_Chilukuri1)\
**回覆:** 1\
**Last updated:** [2023年十月18日 15:25 UTC](https://meta.discourse.org/t/all-groups-associated-with-all-categories/282604 "2023-10-18T15:25:37Z")

</div>

需要协助处理以下查询 每个类别下，所有有权访问该类别的组 - 针对论坛中的所有类别

---

## [6月以来登录用户的新页面浏览量下降？](https://meta.discourse.org/t/drop-in-new-pageviews-from-logged-in-users-since-june/282439)

<div class="topic-metadata">

**Author:** [@yanokwa](https://meta.discourse.org/u/yanokwa)\
**回覆:** 2\
**Last updated:** [2023年十月17日 07:07 UTC](https://meta.discourse.org/t/drop-in-new-pageviews-from-logged-in-users-since-june/282439 "2023-10-17T07:07:47Z")

</div>

我注意到从六月（约 v3.1.0.beta5）开始，多个论坛的登录用户数量有所下降。还有其他人看到这种行为吗？ 论坛 A 论坛 B 论坛 C 论坛 D myserver.com/admin/reports…

---

## [小组成员首次响应时间](https://meta.discourse.org/t/time-to-first-response-by-group-members/275118)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**回覆:** 13\
**Last updated:** [2023年十月12日 16:28 UTC](https://meta.discourse.org/t/time-to-first-response-by-group-members/275118 "2023-10-12T16:28:58Z")

</div>

在给定时间段内创建的主题的首次群组响应时间 返回群组成员对由非成员用户创建的“常规”（非私信）主题的首次响应时间 …

---

## [阅读主题有徽章吗？](https://meta.discourse.org/t/badge-for-reading-a-topic/281534)

<div class="topic-metadata">

**Author:** [@barto\_95](https://meta.discourse.org/u/barto_95)\
**回覆:** 6\
**Last updated:** [2023年十月9日 10:01 UTC](https://meta.discourse.org/t/badge-for-reading-a-topic/281534 "2023-10-09T10:01:01Z")

</div>

是否可以为用户添加徽章，如果用户阅读了论坛的特定主题？而不仅仅是打开了主题，而是阅读了大约5分钟，以确保用户阅读了信息？

---

## [鼓励使用 'Notify Users' 发送私信](https://meta.discourse.org/t/encourage-notify-users-flag-pms/281549)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**回覆:** 1\
**Last updated:** [2023年十月8日 19:12 UTC](https://meta.discourse.org/t/encourage-notify-users-flag-pms/281549 "2023-10-08T19:12:43Z")

</div>

我们希望鼓励用户就帖子中存在争议或个人化的反馈发送更多私信（并以文明友好的方式进行…），而不是公开发布，以免对话偏离主题…

---

## [修改示例Gamification评分徽章](https://meta.discourse.org/t/amending-sample-gamification-scoring-badge/275737)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**回覆:** 1\
**Last updated:** [2023年十月8日 19:52 UTC](https://meta.discourse.org/t/amending-sample-gamification-scoring-badge/275737 "2023-10-08T19:52:02Z")

</div>

SELECT user\_id, current\_timestamp AS granted\_at FROM gamification\_scores WHERE (:backfill OR user\_id IN (:user\_ids)) GROUP BY 1 HAVING SUM(score) \> 9000 该查询是否可以按年、月或三个月进行限制？

---

## [排行榜前50名（每月）](https://meta.discourse.org/t/leaderboard-top-50-per-month/281554)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**回覆:** 1\
**Last updated:** [2023年十月8日 19:59 UTC](https://meta.discourse.org/t/leaderboard-top-50-per-month/281554 "2023-10-08T19:59:38Z")

</div>

关于查询每月排行榜前 50 名的成员？这比选择总欢呼次数更好，因为它能推动永久性贡献。 该徽章应该能在我们的实例中启用一个特定事件 :slight\_smile:

---

## [是否可以为100个解决方案设置徽章？](https://meta.discourse.org/t/is-it-possible-to-have-a-badge-for-100-solutions/281520)

<div class="topic-metadata">

**Author:** [@barto\_95](https://meta.discourse.org/u/barto_95)\
**回覆:** 6\
**Last updated:** [2023年十月8日 13:19 UTC](https://meta.discourse.org/t/is-it-possible-to-have-a-badge-for-100-solutions/281520 "2023-10-08T13:19:28Z")

</div>

是否可以为拥有超过100个已接受解决方案的用户自动添加徽章？

---

## [主题浏览历史](https://meta.discourse.org/t/tracking-topic-views-history/280759)

<div class="topic-metadata">

**Author:** [@Ayelen\_Rives](https://meta.discourse.org/u/Ayelen_Rives)\
**回覆:** 6\
**Last updated:** [2023年十月3日 12:40 UTC](https://meta.discourse.org/t/tracking-topic-views-history/280759 "2023-10-03T12:40:22Z")

</div>

你好！ 我找了很久，但找不到任何类似的东西，甚至在很棒的数据浏览器查询中也找不到。 我想查看某个特定主题在一段时间内收到的浏览/访问历史记录。 ID…

---

## [如何查看‘热门引用主题’的精确链接](https://meta.discourse.org/t/how-to-see-exact-link-of-top-referred-topics/275250)

<div class="topic-metadata">

**Author:** [@kynic](https://meta.discourse.org/u/kynic)\
**回覆:** 5\
**Last updated:** [2023年九月29日 14:59 UTC](https://meta.discourse.org/t/how-to-see-exact-link-of-top-referred-topics/275250 "2023-09-29T14:59:48Z")

</div>

你好， 我想查看在“‘推荐话题’”中分享的话题帖子的确切链接。有人能指导我如何在数据浏览器中查看此数据吗？

---

## [无法设置 Google Analytics 4 与 Discourse](https://meta.discourse.org/t/unable-to-setup-google-analytics-4-with-discourse/274942)

<div class="topic-metadata">

**Author:** [@Anuj\_Kapoor](https://meta.discourse.org/u/Anuj_Kapoor)\
**回覆:** 2\
**Last updated:** [2023年九月29日 13:10 UTC](https://meta.discourse.org/t/unable-to-setup-google-analytics-4-with-discourse/274942 "2023-09-29T13:10:20Z")

</div>

我一直在尝试为我的网站 https://www.proptalks.in 设置 Google Analytics 4，但在 GA 仪表板中看不到任何数据。 这是我的 Discourse 设置： GA 仪表板显示“未收到来自…收到数据

---

## [Google Tag Manager 无法正常工作](https://meta.discourse.org/t/cant-get-google-tag-manager-to-work/274805)

<div class="topic-metadata">

**Author:** [@Nikolaos\_SP](https://meta.discourse.org/u/Nikolaos_SP)\
**回覆:** 6\
**Last updated:** [2023年九月29日 13:07 UTC](https://meta.discourse.org/t/cant-get-google-tag-manager-to-work/274805 "2023-09-29T13:07:11Z")

</div>

你好！ 我们无法在我们的论坛上设置 GTM 以使其正常工作：https://forum.warthunder.com/ 正如你所看到的，关于内容安全策略有一个错误。 拒绝执行内联脚本，因为它违反了以下内容安全策略……

---

## [Discourse 总阅读时间查询](https://meta.discourse.org/t/discourse-query-for-total-read-time/279717)

<div class="topic-metadata">

**Author:** [@codergautam](https://meta.discourse.org/u/codergautam)\
**回覆:** 5\
**Last updated:** [2023年九月21日 22:49 UTC](https://meta.discourse.org/t/discourse-query-for-total-read-time/279717 "2023-09-21T22:49:34Z")

</div>

我想使用 Discourse 数据管理器来查看我的用户总阅读分钟数，了解他们阅读了多长时间。然后，我们可以修改该查询，以查看平均用户阅读时长，这也会很有帮助。 这是否...

---

## [私信查询（间隔）](https://meta.discourse.org/t/direct-message-look-up-interval/277364)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 1\
**Last updated:** [2023年九月21日 20:28 UTC](https://meta.discourse.org/t/direct-message-look-up-interval/277364 "2023-09-21T20:28:33Z")

</div>

深入了解用户在给定时间范围内发送和接收的所有消息。 -- \[参数\] -- user\_id :user -- string :interval = 1 month SELECT chat\_channel\_id, user\_id, message, created\_at AS

---

## [有没有办法查看某个主题在某个月份的帖子数量？](https://meta.discourse.org/t/is-there-a-way-to-see-how-many-posts-in-a-topic-in-a-particular-month/279486)

<div class="topic-metadata">

**Author:** [@Mollyvog](https://meta.discourse.org/u/Mollyvog)\
**回覆:** 2\
**Last updated:** [2023年九月21日 20:17 UTC](https://meta.discourse.org/t/is-there-a-way-to-see-how-many-posts-in-a-topic-in-a-particular-month/279486 "2023-09-21T20:17:17Z")

</div>

我想了解主题随时间增长的情况——是否有方法可以在特定时间段内查看某个主题下的帖子，以便用于报表？

---

## [emoji的使用](https://meta.discourse.org/t/usage-of-emojis/279030)

<div class="topic-metadata">

**Author:** [@frictionel](https://meta.discourse.org/u/frictionel)\
**回覆:** 2\
**Last updated:** [2023年九月20日 15:26 UTC](https://meta.discourse.org/t/usage-of-emojis/279030 "2023-09-20T15:26:32Z")

</div>

我计划用讨论反应替换 Retort 功能。以便了解它们在我论坛上的使用情况。由于我找不到相关的查询语句，我在此分享我的查询：统计通过 rehellip; 添加的表情符号

---

## [Discourse 数据有数据地图吗?](https://meta.discourse.org/t/is-there-a-data-map-for-discourse-data/279374)

<div class="topic-metadata">

**Author:** [@Anat\_Srulovitch](https://meta.discourse.org/u/Anat_Srulovitch)\
**回覆:** 2\
**Last updated:** [2023年九月19日 05:44 UTC](https://meta.discourse.org/t/is-there-a-data-map-for-discourse-data/279374 "2023-09-19T05:44:15Z")

</div>

您好， 我们正在为导出到 Big Query 的数据表寻找地图/文档。 这在网上有提供吗？ 谢谢！

---

## [What is the bug reporter badge?](https://meta.discourse.org/t/what-is-the-bug-reporter-badge/17987)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**回覆:** 33\
**Last updated:** [2023年九月17日 12:33 UTC](https://meta.discourse.org/t/what-is-the-bug-reporter-badge/17987 "2023-09-17T12:33:55Z")

</div>

You may or may have not noticed this new badge: https://meta.discourse.org/badges/114/bug-reporter What I find super exciting about it is that there are zero plugins needed, I crafted it using our badges UI. Not only d…

---

## [用户笔记历史](https://meta.discourse.org/t/user-notes-history/278830)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 0\
**Last updated:** [2023年九月13日 08:21 UTC](https://meta.discourse.org/t/user-notes-history/278830 "2023-09-13T08:21:41Z")

</div>

:memo: 此查询从 ‘plugin\_store\_rows’ 表中检索和格式化用户笔记，将每条笔记与其对应的用户 ID、创建日期、内容和创建者 ID 相关联。结果是一个全面的列表，其中包含…

---

## [使用 COALESCE 处理 NULL 值](https://meta.discourse.org/t/handling-null-values-with-coalesce/278813)

<div class="topic-metadata">

**Author:** [@SaraDev](https://meta.discourse.org/u/SaraDev)\
**回覆:** 0\
**Last updated:** [2023年九月13日 01:15 UTC](https://meta.discourse.org/t/handling-null-values-with-coalesce/278813 "2023-09-13T01:15:35Z")

</div>

在本教程中，我们将探讨在 Data Explorer SQL 查询中使用 COALESCE 函数。 COALESCE 允许您在查询结果中处理 NULL 值。如果您的数据中有 NULL 值，您可以使用 COALESCE…

---

## [使用 STRING\_AGG 实现简洁的查询结果](https://meta.discourse.org/t/using-string-agg-for-concise-query-results/278628)

<div class="topic-metadata">

**Author:** [@SaraDev](https://meta.discourse.org/u/SaraDev)\
**回覆:** 0\
**Last updated:** [2023年九月11日 23:43 UTC](https://meta.discourse.org/t/using-string-agg-for-concise-query-results/278628 "2023-09-11T23:43:14Z")

</div>

SQL 中的 string\_agg 函数是一个聚合函数，用于将来自多行的字符串连接（合并）成一个单一字符串，并提供多种选项。 当您希望将某一列的值合并起来时，它特别有用……

---

## [DATE\_TRUNC 用于数据聚合](https://meta.discourse.org/t/using-date-trunc-for-data-aggregation/278095)

<div class="topic-metadata">

**Author:** [@SaraDev](https://meta.discourse.org/u/SaraDev)\
**回覆:** 0\
**Last updated:** [2023年九月6日 23:24 UTC](https://meta.discourse.org/t/using-date-trunc-for-data-aggregation/278095 "2023-09-06T23:24:38Z")

</div>

date\_trunc 函数是 SQL 中的一个强大工具。它允许您根据指定的日期部分截断 TIMESTAMP 或 INTERVAL 值，这使得在您想要聚合或分组数据时，它成为一个非常有用的函数……

---

## [格式化数据浏览器表格结果](https://meta.discourse.org/t/formatting-data-explorer-table-results/277939)

<div class="topic-metadata">

**Author:** [@SaraDev](https://meta.discourse.org/u/SaraDev)\
**回覆:** 0\
**Last updated:** [2023年九月5日 23:37 UTC](https://meta.discourse.org/t/formatting-data-explorer-table-results/277939 "2023-09-05T23:37:33Z")

</div>

在Discourse中，您可以增强Data Explorer查询结果的外观。使用Data Explorer中的格式化表格结果可以通过在SQL查询中使用特殊语法实现，这样可以…

---

## [Data Explorer 教程 - 第2部分 - Discourse SQL基础](https://meta.discourse.org/t/data-explorer-tutorial-part-2-discourse-sql-basics/277927)

<div class="topic-metadata">

**Author:** [@SaraDev](https://meta.discourse.org/u/SaraDev)\
**回覆:** 0\
**Last updated:** [2023年九月5日 22:11 UTC](https://meta.discourse.org/t/data-explorer-tutorial-part-2-discourse-sql-basics/277927 "2023-09-05T22:11:48Z")

</div>

{

---

## [Data Explorer 教程 - 第1部分 - 编写你的第一个查询](https://meta.discourse.org/t/data-explorer-tutorial-part-1-writing-your-first-query/277925)

<div class="topic-metadata">

**Author:** [@SaraDev](https://meta.discourse.org/u/SaraDev)\
**回覆:** 0\
**Last updated:** [2023年九月5日 22:03 UTC](https://meta.discourse.org/t/data-explorer-tutorial-part-1-writing-your-first-query/277925 "2023-09-05T22:03:38Z")

</div>

想从你的 Discourse 网站提取一些数据，但不知道从哪里开始？你来对地方了！这是一个面向 Data Explorer 新手的教程指南。如果你已经...

---

## [根据活动创建一些群组的查询](https://meta.discourse.org/t/query-to-create-some-groups-based-on-activity/277156)

<div class="topic-metadata">

**Author:** [@alefattorini](https://meta.discourse.org/u/alefattorini)\
**回覆:** 11\
**Last updated:** [2023年九月5日 12:49 UTC](https://meta.discourse.org/t/query-to-create-some-groups-based-on-activity/277156 "2023-09-05T12:49:41Z")

</div>

在我的社区中，我需要根据以下条件对我的用户进行细分： 收到的点赞数（30 - 100 - 200） 阅读的帖子数 1k 2k 5k 过去一年的最少发帖数 如何使用数据浏览器来完成此操作？ 我想要一个查询，在其中我可以输入…

---

## [使用搜索徽章](https://meta.discourse.org/t/badge-for-using-search/281545)

<div class="topic-metadata">

**Author:** [@packman](https://meta.discourse.org/u/packman)\
**回覆:** 0\
**Last updated:** [2023年九月3日 13:35 UTC](https://meta.discourse.org/t/badge-for-using-search/281545 "2023-09-03T13:35:02Z")

</div>

为了鼓励在我的论坛上使用搜索功能，我创建了搜索徽章。我创建了三个徽章（首次 \>=1，优秀 \>=50，史诗 \>=200），但你可以自行选择徽章数量和数值……

---

## [Why there is huge difference in Pageviews tracking number on discourse admin dahboard and on google analytics](https://meta.discourse.org/t/why-there-is-huge-difference-in-pageviews-tracking-number-on-discourse-admin-dahboard-and-on-google-analytics/25306)

<div class="topic-metadata">

**Author:** [@lovechopra1](https://meta.discourse.org/u/lovechopra1)\
**回覆:** 57\
**Last updated:** [2023年九月1日 15:02 UTC](https://meta.discourse.org/t/why-there-is-huge-difference-in-pageviews-tracking-number-on-discourse-admin-dahboard-and-on-google-analytics/25306 "2023-09-01T15:02:49Z")

</div>

Hi, I found there is huge difference in google analytics pageviews number and pageviews number on admin panel of discourse. On discourse’s dashboard it is showing 10,000 pageviews however on Google Analytics its only 1…

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

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