# Data & reporting

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

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

**Page:** 18

---

## [如何在数据资源管理器中获取每位用户的解决方案数量？](https://meta.discourse.org/t/how-to-get-number-of-solutions-per-users-using-data-explorer/146253)

<div class="topic-metadata">

**Author:** [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)\
**回覆:** 10\
**Last updated:** [2020年十一月3日 15:16 UTC](https://meta.discourse.org/t/how-to-get-number-of-solutions-per-users-using-data-explorer/146253 "2020-11-03T15:16:09Z")

</div>

考虑到我们已安装了 Discourse Solved 插件以及 Data Explorer 插件，获取每位用户解决方案数量的查询语句是什么？

---

## [合并页面浏览报告的数据存储在哪些数据库表中？](https://meta.discourse.org/t/which-tables-is-the-data-for-consolidated-pageviews-report-stored/168792)

<div class="topic-metadata">

**Author:** [@olegbc1](https://meta.discourse.org/u/olegbc1)\
**回覆:** 3\
**Last updated:** [2020年十一月2日 19:22 UTC](https://meta.discourse.org/t/which-tables-is-the-data-for-consolidated-pageviews-report-stored/168792 "2020-11-02T19:22:04Z")

</div>

有人知道合并的页面浏览量报告 ( \*/admin/reports/consolidated\_page\_views) 中的数据存储在哪个 PostgreSQL 表中吗？

---

## [topics 表中的 "score" 和 "percent\_rank" 字段是什么意思？](https://meta.discourse.org/t/what-are-the-score-and-percent-rank-fields-on-the-topics-table/87597)

<div class="topic-metadata">

**Author:** [@mcwumbly](https://meta.discourse.org/u/mcwumbly)\
**回覆:** 1\
**Last updated:** [2018年五月16日 06:41 UTC](https://meta.discourse.org/t/what-are-the-score-and-percent-rank-fields-on-the-topics-table/87597 "2018-05-16T06:41:57Z")

</div>

今晚我在探索一些数据时，发现了 topics 表中的 score 和 percent\_rank 字段。但我不太清楚这些字段是什么、如何计算以及它们的用途……

---

## [Google Analytics 中的社交注册跟踪](https://meta.discourse.org/t/tracking-social-signups-in-google-analytics/168389)

<div class="topic-metadata">

**Author:** [@401Ott](https://meta.discourse.org/u/401Ott)\
**回覆:** 0\
**Last updated:** [2020年十月27日 13:55 UTC](https://meta.discourse.org/t/tracking-social-signups-in-google-analytics/168389 "2020-10-27T13:55:11Z")

</div>

大家好 - 我们已经能够成功地在 Google Analytics 中跟踪电子邮件注册，但尚未找到如何跟踪通过社交登录（占大多数）注册的用户。有人找到解决办法了吗……

---

## [Discourse 指标与 Google 指标不匹配](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564)

<div class="topic-metadata">

**Author:** [@Mila\_Ferrer](https://meta.discourse.org/u/Mila_Ferrer)\
**回覆:** 3\
**Last updated:** [2018年五月15日 20:07 UTC](https://meta.discourse.org/t/discourse-metrics-dont-match-google-metrics/87564 "2018-05-15T20:07:44Z")

</div>

你好！我管理着一个糖尿病在线社区，发现我们的 Google 指标与 Discourse 的指标差异很大。知道是什么原因吗？所有设置看起来都没问题，非常感谢您的帮助或指导。

---

## ['Active Helper' 徽章？](https://meta.discourse.org/t/active-helper-badge/281552)

<div class="topic-metadata">

**Author:** [@onloop](https://meta.discourse.org/u/onloop)\
**回覆:** 0\
**Last updated:** [2020年十月30日 09:03 UTC](https://meta.discourse.org/t/active-helper-badge/281552 "2020-10-30T09:03:05Z")

</div>

你好，也许有人能帮我，我想创建类似下面描述的徽章…… 我已经“创建”了一个名为“活跃助手”的新徽章——这很简单，只是无法编写代码。 这可能吗？ 这个……

---

## [用户徽章计数，带徽章名称过滤器](https://meta.discourse.org/t/user-badge-counts-with-badge-name-filter/168098)

<div class="topic-metadata">

**Author:** [@alefattorini](https://meta.discourse.org/u/alefattorini)\
**回覆:** 3\
**Last updated:** [2020年十月26日 11:10 UTC](https://meta.discourse.org/t/user-badge-counts-with-badge-name-filter/168098 "2020-10-26T11:10:33Z")

</div>

如何筛选特定徽章？我需要计算他们获得了多少次 例如：“howto writer badge” 我需要知道谁写了最多的 howtos 并创建一个排名

---

## [网站未显示 Google Analytics 来源](https://meta.discourse.org/t/the-website-is-not-showing-up-google-analytics-sources/153457)

<div class="topic-metadata">

**Author:** [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)\
**回覆:** 4\
**Last updated:** [2020年十月20日 14:57 UTC](https://meta.discourse.org/t/the-website-is-not-showing-up-google-analytics-sources/153457 "2020-10-20T14:57:44Z")

</div>

您好， 如何确保网站出现在 Google Analytics 的来源中： 我注意到最近一段时间，当有人点击来自我们网站（例如 A）的链接，指向网站 …

---

## [识别用户之间的私人消息交互](https://meta.discourse.org/t/identify-private-message-interactions-between-users/167067)

<div class="topic-metadata">

**Author:** [@sonicb](https://meta.discourse.org/u/sonicb)\
**回覆:** 1\
**Last updated:** [2020年十月13日 16:47 UTC](https://meta.discourse.org/t/identify-private-message-interactions-between-users/167067 "2020-10-13T16:47:04Z")

</div>

我想使用数据探索插件来识别用户之间是否在进行互动。我编写了一个查询，用于返回指定日期范围内的发送者、接收者和计数，但它似乎返回了…

---

## [月度或周度活跃用户](https://meta.discourse.org/t/monthly-or-weekly-engaged-users/166568)

<div class="topic-metadata">

**Author:** [@alefattorini](https://meta.discourse.org/u/alefattorini)\
**回覆:** 3\
**Last updated:** [2020年十月9日 08:49 UTC](https://meta.discourse.org/t/monthly-or-weekly-engaged-users/166568 "2020-10-09T08:49:49Z")

</div>

我喜欢每日活跃用户图表，但我认为月度或周度图表能更好地显示社区健康状况和参与度的增长。 我想展示过去一年参与度是如何变化的 我该如何...

---

## [徽章 SQL 错误：q.user\_id](https://meta.discourse.org/t/badge-sql-error-q-user-id/86640)

<div class="topic-metadata">

**Author:** [@hross](https://meta.discourse.org/u/hross)\
**回覆:** 3\
**Last updated:** [2018年五月2日 22:28 UTC](https://meta.discourse.org/t/badge-sql-error-q-user-id/86640 "2018-05-02T22:28:42Z")

</div>

你好！ 我正在为通过“解决方案复选框”插件标记帖子为解决方案的用户创建一个徽章。这是 SQL 查询： SELECT u.username AS "username", count(\*) AS "count\_…"

---

## [允许“所有人”访问数据探索器查询无效](https://meta.discourse.org/t/allow-everyone-access-to-data-explorer-query-doesnt-work/160292)

<div class="topic-metadata">

**Author:** [@mcwumbly](https://meta.discourse.org/u/mcwumbly)\
**回覆:** 4\
**Last updated:** [2020年十月7日 02:16 UTC](https://meta.discourse.org/t/allow-everyone-access-to-data-explorer-query-doesnt-work/160292 "2020-10-07T02:16:00Z")

</div>

如果您选择“所有人”作为可以访问给定数据探索器查询的组，它不会报错。然后，您可以在列出查询的页面上获取访问该查询的链接，其格式为：https://my.f……

---

## [API page\_view\_total\_reqs 路由？](https://meta.discourse.org/t/api-page-view-total-reqs-route/128451)

<div class="topic-metadata">

**Author:** [@sckott](https://meta.discourse.org/u/sckott)\
**回覆:** 2\
**Last updated:** [2020年十月2日 16:21 UTC](https://meta.discourse.org/t/api-page-view-total-reqs-route/128451 "2020-10-02T16:21:40Z")

</div>

我无法在我的实例上使 Discourse API 路由 /page\_view\_total\_reqs（在 API 文档中：Discourse API 文档）正常工作，返回 404 错误。不知道其他人是否可以使用？ 在管理仪表板 → 报告 → 综合页面浏览量……

---

## [将查询结果下载至 Google 电子表格](https://meta.discourse.org/t/download-result-of-queries-into-google-spreadsheet/90612)

<div class="topic-metadata">

**Author:** [@Jp\_Robotshop](https://meta.discourse.org/u/Jp_Robotshop)\
**回覆:** 9\
**Last updated:** [2020年九月30日 06:49 UTC](https://meta.discourse.org/t/download-result-of-queries-into-google-spreadsheet/90612 "2020-09-30T06:49:43Z")

</div>

Hey there, This plugin is pretty amazing. I was wondering if there was a way to download the result of the queries in a Google Spreadsheet? We use primarly Data Studio for our reporting/dashboards and having a way to …

---

## [从 API 端点访问查询数据](https://meta.discourse.org/t/access-to-query-data-from-api-endpoints/90614)

<div class="topic-metadata">

**Author:** [@jerdog](https://meta.discourse.org/u/jerdog)\
**回覆:** 6\
**Last updated:** [2018年三月16日 20:52 UTC](https://meta.discourse.org/t/access-to-query-data-from-api-endpoints/90614 "2018-03-16T20:52:54Z")

</div>

Does this plugin present any new API endpoints, i.e. if we wanted to access the data from the query via the API?

---

## [Data Explorer 查询点击了特定链接的用户](https://meta.discourse.org/t/data-explorer-query-users-who-clicked-specific-link/165332)

<div class="topic-metadata">

**Author:** [@E.D](https://meta.discourse.org/u/E.D)\
**回覆:** 1\
**Last updated:** [2020年九月25日 16:42 UTC](https://meta.discourse.org/t/data-explorer-query-users-who-clicked-specific-link/165332 "2020-09-25T16:42:31Z")

</div>

您好， 我想知道是否可以检查哪些用户点击了链接？ 既然 Discourse 知道数量，我想应该有办法找出是谁。 谢谢！

---

## [员工和所有群组是否包含在仪表板报告中？](https://meta.discourse.org/t/are-staff-and-all-groups-included-in-dashboard-reporting/164765)

<div class="topic-metadata">

**Author:** [@401Ott](https://meta.discourse.org/u/401Ott)\
**回覆:** 3\
**Last updated:** [2020年九月24日 19:30 UTC](https://meta.discourse.org/t/are-staff-and-all-groups-included-in-dashboard-reporting/164765 "2020-09-24T19:30:37Z")

</div>

您好 - 我想查看所有非员工用户或未包含在特定组（我的员工组）中的用户的行为。 员工网站行为（例如访问管理页面）是否反映在以下仪表板报告中？…

---

## [Load Data Explorer queries from library](https://meta.discourse.org/t/load-data-explorer-queries-from-library/122494)

<div class="topic-metadata">

**Author:** [@david](https://meta.discourse.org/u/david)\
**回覆:** 9\
**Last updated:** [2020年九月23日 09:19 UTC](https://meta.discourse.org/t/load-data-explorer-queries-from-library/122494 "2020-09-23T09:19:46Z")

</div>

It’s great to have these all in one place, rather than spread across meta! I see you’ve organised them into your fork of the discourse-data-explorer repository. Did you have any plans to improve the plugin to access the…

---

## [关于版规的两个自定义徽章](https://meta.discourse.org/t/two-custom-badges-on-moderation/164653)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**回覆:** 2\
**Last updated:** [2020年九月21日 13:02 UTC](https://meta.discourse.org/t/two-custom-badges-on-moderation/164653 "2020-09-21T13:02:52Z")

</div>

我在我们的论坛上反复看到两种行为： 用户标记他们认为不当的帖子，同时公开回复，导致帖子被隐藏但仍有回复。 用户编辑他们标记的帖子，

---

## [查找获得最多标记的用户](https://meta.discourse.org/t/find-users-with-highest-number-of-flags/163931)

<div class="topic-metadata">

**Author:** [@ondrej](https://meta.discourse.org/u/ondrej)\
**回覆:** 4\
**Last updated:** [2020年九月14日 17:20 UTC](https://meta.discourse.org/t/find-users-with-highest-number-of-flags/163931 "2020-09-14T17:20:23Z")

</div>

大家好 :grinning: 我不是查询方面的专家。我需要一个列表，包含被标记帖子最多（数量最高）的用户（被版主批准的标记）的用户名，并显示...

---

## [Amount of time spent reading by Discourse groups](https://meta.discourse.org/t/amount-of-time-spent-reading-by-discourse-groups/77702)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**回覆:** 4\
**Last updated:** [2018年四月22日 06:45 UTC](https://meta.discourse.org/t/amount-of-time-spent-reading-by-discourse-groups/77702 "2018-04-22T06:45:22Z")

</div>

One of my favorite new discourse 1.9 features is the “time spent (time spent recently)” stat on user cards. This is super helpful for understanding whether the person I am looking at is a truly active, participating memb…

---

## [按小时跟踪讨论使用情况？](https://meta.discourse.org/t/tracking-discourse-usage-by-hour/162829)

<div class="topic-metadata">

**Author:** [@reoguy55](https://meta.discourse.org/u/reoguy55)\
**回覆:** 2\
**Last updated:** [2020年九月2日 17:31 UTC](https://meta.discourse.org/t/tracking-discourse-usage-by-hour/162829 "2020-09-02T17:31:48Z")

</div>

你好！ 我想知道是否有任何方法可以按小时查看使用统计数据（页面浏览量、活跃用户等），以更清晰地了解我们的用户何时与我们的 Discourse 论坛互动。 我们将我们的安装用作一个 di…

---

## [邀请制网站的页面浏览统计中出现匿名用户](https://meta.discourse.org/t/anonymous-users-appearing-in-pageview-stats-on-invite-only-site/162162)

<div class="topic-metadata">

**Author:** [@kaivalyam](https://meta.discourse.org/u/kaivalyam)\
**回覆:** 2\
**Last updated:** [2020年八月27日 09:31 UTC](https://meta.discourse.org/t/anonymous-users-appearing-in-pageview-stats-on-invite-only-site/162162 "2020-08-27T09:31:11Z")

</div>

大家好， 我的精彩的 Discourse 站点（感谢大家！）已经运行了一个月了。 虽然访问是仅限邀请的，但在页面浏览量统计中，我看到了匿名用户和爬虫。 有人能……

---

## [“First post” badge!](https://meta.discourse.org/t/first-post-badge/276674)

<div class="topic-metadata">

**Author:** [@soyuri](https://meta.discourse.org/u/soyuri)\
**回覆:** 11\
**Last updated:** [2020年八月22日 01:05 UTC](https://meta.discourse.org/t/first-post-badge/276674 "2020-08-22T01:05:40Z")

</div>

Can someone please help me with the SQL and everything if I wanted to do one for “First post” badge! Thank you!

---

## [询问用户是如何发现我的网站的](https://meta.discourse.org/t/asking-to-see-how-user-found-out-my-website/161224)

<div class="topic-metadata">

**Author:** [@R\_X](https://meta.discourse.org/u/R_X)\
**回覆:** 8\
**Last updated:** [2020年八月18日 20:42 UTC](https://meta.discourse.org/t/asking-to-see-how-user-found-out-my-website/161224 "2020-08-18T20:42:35Z")

</div>

你好。我一周前刚开始了一个新网站，我尝试使用谷歌搜索技巧来搜索我的网站，并在两个主题下看到了它。然后突然有一个人创建了一个帐户在我的网站上。我现在很好奇他是如何...

---

## [一些改进想法 - 查询分组、重复查询](https://meta.discourse.org/t/few-improvement-ideas-grouping-queries-duplicate-queries/159897)

<div class="topic-metadata">

**Author:** [@loginerror](https://meta.discourse.org/u/loginerror)\
**回覆:** 0\
**Last updated:** [2020年八月5日 10:38 UTC](https://meta.discourse.org/t/few-improvement-ideas-grouping-queries-duplicate-queries/159897 "2020-08-05T10:38:43Z")

</div>

随着时间的推移，我们拥有的查询数量已经达到了难以管理的程度。 因此，我提出几点建议，我相信其他人也会（希望如此）踊跃提出更多建议 :slight\_smile: (1) 可折叠的查询…

---

## [查找最热门新帖子的正确查询](https://meta.discourse.org/t/correct-query-to-find-the-most-popular-new-posts/160043)

<div class="topic-metadata">

**Author:** [@sebastianmoran](https://meta.discourse.org/u/sebastianmoran)\
**回覆:** 3\
**Last updated:** [2020年八月12日 20:14 UTC](https://meta.discourse.org/t/correct-query-to-find-the-most-popular-new-posts/160043 "2020-08-12T20:14:33Z")

</div>

正在尝试查找正确的查询，以便找出过去7天内最受欢迎的新帖子，并能按回复数、浏览量和点赞数进行排序。任何帮助都将不胜感激。

---

## [Discourse 的页面浏览量指标与 Google Analytics 对比](https://meta.discourse.org/t/page-view-metrics-from-discourse-compared-to-google-analytics/84607)

<div class="topic-metadata">

**Author:** [@communitygal](https://meta.discourse.org/u/communitygal)\
**回覆:** 1\
**Last updated:** [2018年四月4日 23:23 UTC](https://meta.discourse.org/t/page-view-metrics-from-discourse-compared-to-google-analytics/84607 "2018-04-04T23:23:36Z")

</div>

大家好， 有人对页面浏览量指标有了解吗？ Discourse 的总页面浏览量大约是 Google Analytics 报告的两倍。我正在思考可能的原因。我猜测是因为我们告诉 Googl…

---

## [创建自定义徽章和触发器](https://meta.discourse.org/t/creating-custom-badges-and-triggers/160169)

<div class="topic-metadata">

**Author:** [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)\
**回覆:** 0\
**Last updated:** [2020年八月8日 01:37 UTC](https://meta.discourse.org/t/creating-custom-badges-and-triggers/160169 "2020-08-08T01:37:53Z")

</div>

我正在创建一个自定义徽章查询。我已经成功创建并保存了一个。这个工作没有错误： SELECT user\_id, 0 post\_id, current\_timestamp granted\_at FROM badge\_posts WHERE (:backfill O ...

---

## [如何启用 Google Analytics](https://meta.discourse.org/t/how-to-enable-google-analytics/159891)

<div class="topic-metadata">

**Author:** [@Andro](https://meta.discourse.org/u/Andro)\
**回覆:** 5\
**Last updated:** [2020年八月6日 22:44 UTC](https://meta.discourse.org/t/how-to-enable-google-analytics/159891 "2020-08-06T22:44:17Z")

</div>

我找不到任何可以启用谷歌分析设置的地方，也找不到插件。那么在 Discourse 中该如何操作呢？

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

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