# Data & reporting

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

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

**Page:** 20

---

## [报告中的自定义字段名称](https://meta.discourse.org/t/custom-field-name-in-report/147935)

<div class="topic-metadata">

**Author:** [@evantill](https://meta.discourse.org/u/evantill)\
**回覆:** 0\
**Last updated:** [2020年四月14日 10:15 UTC](https://meta.discourse.org/t/custom-field-name-in-report/147935 "2020-04-14T10:15:11Z")

</div>

我需要创建带有自定义字段的数据报告。哪里可以找到自定义字段名称？

---

## [按日期报告新主题的链接吗？](https://meta.discourse.org/t/report-links-to-new-topics-by-date/147831)

<div class="topic-metadata">

**Author:** [@galley](https://meta.discourse.org/u/galley)\
**回覆:** 1\
**Last updated:** [2020年四月13日 17:42 UTC](https://meta.discourse.org/t/report-links-to-new-topics-by-date/147831 "2020-04-13T17:42:24Z")

</div>

你好！ 我正在查看“话题”报告和“无回复的话题”报告，我真正需要的是指向所引用主题的链接。 例如，我看到有2个话题没有回复来自…

---

## [提取用户报告](https://meta.discourse.org/t/pulling-user-report/146710)

<div class="topic-metadata">

**Author:** [@Amy\_Mattila](https://meta.discourse.org/u/Amy_Mattila)\
**回覆:** 3\
**Last updated:** [2020年四月4日 09:11 UTC](https://meta.discourse.org/t/pulling-user-report/146710 "2020-04-04T09:11:46Z")

</div>

是否有办法根据客户名称提取用户报告？我们有几位VIP用户希望重点关注，与其手动搜索每个群组，提取报告是更理想的选择。 感谢您的……

---

## [跟踪邮件退订](https://meta.discourse.org/t/tracking-email-unsubscribes/97693)

<div class="topic-metadata">

**Author:** [@rbrunson](https://meta.discourse.org/u/rbrunson)\
**回覆:** 2\
**Last updated:** [2020年四月4日 03:01 UTC](https://meta.discourse.org/t/tracking-email-unsubscribes/97693 "2020-04-04T03:01:23Z")

</div>

是否有人了解如何使用数据探索器查看哪些用户通过选择“不要向我发送来自 \_\_\_\_ 的任何邮件”退出了通知邮件？我们也欢迎其他解决方案。 感谢您的帮助…

---

## [访问 /srv/status 的命中是否算作爬虫？](https://meta.discourse.org/t/do-hits-to-srv-status-count-as-crawlers/143431)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 13\
**Last updated:** [2020年四月2日 17:32 UTC](https://meta.discourse.org/t/do-hits-to-srv-status-count-as-crawlers/143431 "2020-04-02T17:32:41Z")

</div>

我有一个网站运行着3个Kubernetes Pod（这是他们要求的！）。爬虫统计显示每天超过120K的页面浏览量。然而……用户非常少……帖子也不到1000篇，因此需要进行的爬取工作并不多。St…

---

## [用户是否包含在投票中？](https://meta.discourse.org/t/users-included-in-a-poll/281555)

<div class="topic-metadata">

**Author:** [@jrgong](https://meta.discourse.org/u/jrgong)\
**回覆:** 0\
**Last updated:** [2020年四月1日 08:12 UTC](https://meta.discourse.org/t/users-included-in-a-poll/281555 "2020-04-01T08:12:14Z")

</div>

大家好， 我们每月举办一次摄影比赛（所有作品归入单一类别），包括对5个用户账户进行最终投票以选出月度冠军。 是否有办法为此设置自动徽章查询？我已经测试了 m…

---

## [Data Explorer 关于用户下载图片查询](https://meta.discourse.org/t/data-explorer-about-user-download-pictures-queries/146244)

<div class="topic-metadata">

**Author:** [@BishopV](https://meta.discourse.org/u/BishopV)\
**回覆:** 0\
**Last updated:** [2020年三月31日 08:45 UTC](https://meta.discourse.org/t/data-explorer-about-user-download-pictures-queries/146244 "2020-03-31T08:45:58Z")

</div>

我想知道数据浏览器是否可以检查哪些用户从我的网站大量下载图片？抱歉，我是 MySQL 新手，我尝试从 uploads 中编辑它。 WITH heavy\_uploads AS ( SELECT ( SUM(downloads.filesize…

---

## [如何使用 Python 运行 Data Explorer 查询](https://meta.discourse.org/t/how-to-run-data-explorer-queries-with-python/145803)

<div class="topic-metadata">

**Author:** [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)\
**回覆:** 2\
**Last updated:** [2020年三月30日 06:40 UTC](https://meta.discourse.org/t/how-to-run-data-explorer-queries-with-python/145803 "2020-03-30T06:40:08Z")

</div>

你好！ 关于主题：使用 Discourse API 运行数据探索器查询 我尝试将 CURL 命令移植到 Python，从语法角度看似乎一切正常，但我一直收到 404 错误，而…

---

## [按顶级分类查看](https://meta.discourse.org/t/views-by-top-level-category/275172)

<div class="topic-metadata">

**Author:** [@tanius](https://meta.discourse.org/u/tanius)\
**回覆:** 0\
**Last updated:** [2020年三月27日 16:45 UTC](https://meta.discourse.org/t/views-by-top-level-category/275172 "2020-03-27T16:45:00Z")

</div>

按顶级分类查看的浏览量 包括您的论坛自创建以来所有主题的总浏览量。 /\* 外层 SELECT 用于隐藏人工排序列，并按其排序。 \*/ SELECT "Category", "Views" FROM ...

---

## [按子类别查看](https://meta.discourse.org/t/views-by-sub-level-category/275173)

<div class="topic-metadata">

**Author:** [@tanius](https://meta.discourse.org/u/tanius)\
**回覆:** 0\
**Last updated:** [2020年三月27日 16:35 UTC](https://meta.discourse.org/t/views-by-sub-level-category/275173 "2020-03-27T16:35:30Z")

</div>

按子级类别查看浏览量 对主题浏览量进行更细致的分析，但不进行汇总。子类别为“(none)”的条目表示直接归入顶级类别的主题。 SELECT topcat AS …

---

## [按顶级分类和用户划分的帖子数量](https://meta.discourse.org/t/number-of-posts-by-top-level-category-and-user/275170)

<div class="topic-metadata">

**Author:** [@tanius](https://meta.discourse.org/u/tanius)\
**回覆:** 0\
**Last updated:** [2020年三月27日 16:35 UTC](https://meta.discourse.org/t/number-of-posts-by-top-level-category-and-user/275170 "2020-03-27T16:35:00Z")

</div>

按顶级分类和用户划分的帖子数量 对于每个顶级分类，列出贡献该分类的用户及其贡献的帖子数量。帖子包括主题发起帖和评论 …

---

## [为何 Discourse 未显示实时页面浏览量？有替代方案吗？](https://meta.discourse.org/t/why-is-discourse-not-showing-live-pageviews-any-alternative/145023)

<div class="topic-metadata">

**Author:** [@jidetheblogger](https://meta.discourse.org/u/jidetheblogger)\
**回覆:** 1\
**Last updated:** [2020年三月21日 11:44 UTC](https://meta.discourse.org/t/why-is-discourse-not-showing-live-pageviews-any-alternative/145023 "2020-03-21T11:44:09Z")

</div>

我的 Discourse 不显示实时页面浏览量。我必须等到第二天才能看到前一天的统计数据。为什么会这样？ 有没有什么统计工具可以用来追踪我的 Discourse 论坛的实时页面浏览量？

---

## [针对特定用户进行活动调查](https://meta.discourse.org/t/polling-specific-users-for-their-activity/143753)

<div class="topic-metadata">

**Author:** [@Jim.Morrison](https://meta.discourse.org/u/Jim.Morrison)\
**回覆:** 2\
**Last updated:** [2020年三月16日 21:19 UTC](https://meta.discourse.org/t/polling-specific-users-for-their-activity/143753 "2020-03-16T21:19:23Z")

</div>

下午好， 我想针对特定用户名，按天统计其在指定日期范围内的点赞数、收到的点赞数、发帖数以及解决方案数。对于此类报表，有什么建议吗？我怀疑可能需要...

---

## [Displaying user custom fields in data explorer query results](https://meta.discourse.org/t/displaying-user-custom-fields-in-data-explorer-query-results/76648)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**回覆:** 5\
**Last updated:** [2020年三月15日 10:59 UTC](https://meta.discourse.org/t/displaying-user-custom-fields-in-data-explorer-query-results/76648 "2020-03-15T10:59:46Z")

</div>

Hi @LeoMcA! I love this query of yours that you created last year to use the data explorer to display a chronological list of user topics started, replied and liked. Would you be willing to update the query to also optio…

---

## [Recreate the Discourse user’s directory](https://meta.discourse.org/t/recreate-the-discourse-user-s-directory/275011)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回覆:** 3\
**Last updated:** [2020年三月13日 23:30 UTC](https://meta.discourse.org/t/recreate-the-discourse-user-s-directory/275011 "2020-03-13T23:30:49Z")

</div>

Recreate the Discourse user’s directory OK, here is the query to recreate the user’s directory. -- \[params\] -- null int :period SELECT users.username AS "Username", directory\_items.likes\_received AS "Likes Received", d…

---

## [每日活跃用户数](https://meta.discourse.org/t/active-users-per-day/143724)

<div class="topic-metadata">

**Author:** [@Gaurav\_Sardana](https://meta.discourse.org/u/Gaurav_Sardana)\
**回覆:** 4\
**Last updated:** [2020年三月13日 20:10 UTC](https://meta.discourse.org/t/active-users-per-day/143724 "2020-03-13T20:10:16Z")

</div>

嘿， 有没有办法统计每日活跃用户数和每日独立用户数？

---

## [不同标签的累计分数徽章？](https://meta.discourse.org/t/badge-for-cumulative-score-for-different-tags/281548)

<div class="topic-metadata">

**Author:** [@Tom\_Beckett](https://meta.discourse.org/u/Tom_Beckett)\
**回覆:** 5\
**Last updated:** [2020年三月5日 16:35 UTC](https://meta.discourse.org/t/badge-for-cumulative-score-for-different-tags/281548 "2020-03-05T16:35:14Z")

</div>

我们运营一个鼓励人们更加可持续的网站。我想颁发徽章，以表彰在碳减排、节水和减少浪费方面的成果。 我希望为每一项设立一个徽章，并且可以多次颁发。…

---

## [带有正确时间戳的 User\_stats](https://meta.discourse.org/t/user-stats-with-a-proper-time-stamp/143066)

<div class="topic-metadata">

**Author:** [@Gaurav\_Sardana](https://meta.discourse.org/u/Gaurav_Sardana)\
**回覆:** 7\
**Last updated:** [2020年三月2日 11:32 UTC](https://meta.discourse.org/t/user-stats-with-a-proper-time-stamp/143066 "2020-03-02T11:32:05Z")

</div>

嘿， 我有一个 Discourse SQL 数据库。我需要查找特定时间戳的用户统计数据。 例如，我需要知道某个用户发布了多少帖子？ 如果我从 user\_stats 中提取该数据，它将返回一个数字……

---

## [类别潜水者](https://meta.discourse.org/t/category-lurkers/275166)

<div class="topic-metadata">

**Author:** [@xav](https://meta.discourse.org/u/xav)\
**回覆:** 0\
**Last updated:** [2020年二月28日 13:25 UTC](https://meta.discourse.org/t/category-lurkers/275166 "2020-02-28T13:25:47Z")

</div>

类别潜水员： 查看某个类别（默认情况下为所有类别）中用户的通知级别。 理由：我们使用类别来代表“工作组”，任何人都可以“加入”（跟踪或关注）。因此，一个工作组……

---

## [禁用 Google Analytics](https://meta.discourse.org/t/disabling-google-analytics/142305)

<div class="topic-metadata">

**Author:** [@sudoman](https://meta.discourse.org/u/sudoman)\
**回覆:** 2\
**Last updated:** [2020年二月22日 02:16 UTC](https://meta.discourse.org/t/disabling-google-analytics/142305 "2020-02-22T02:16:23Z")

</div>

有没有办法完全禁用 Google Analytics？我不希望有任何数据发送到 Google 的服务器，也不希望任何非自由的 JavaScript 在用户的浏览器中运行。谢谢！: )

---

## [按用户获取解决方案](https://meta.discourse.org/t/fetch-solutions-per-user/141776)

<div class="topic-metadata">

**Author:** [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)\
**回覆:** 1\
**Last updated:** [2020年二月19日 02:26 UTC](https://meta.discourse.org/t/fetch-solutions-per-user/141776 "2020-02-19T02:26:30Z")

</div>

你好！ 我搜索了整个论坛，并自行进行了一些开发，但无法构建一个查询来获取在特定时间段内所有用户及其提供的解决方案数量。感谢帮助！

---

## [页面浏览量说明](https://meta.discourse.org/t/pageviews-clarification/141219)

<div class="topic-metadata">

**Author:** [@slackmoehrle](https://meta.discourse.org/u/slackmoehrle)\
**回覆:** 1\
**Last updated:** [2020年二月10日 21:01 UTC](https://meta.discourse.org/t/pageviews-clarification/141219 "2020-02-10T21:01:42Z")

</div>

例如，如果我的报告显示我有： 1000 个匿名页面浏览量 700 个来自爬虫的页面浏览量 这是否意味着我有 300 个来自未登录用户的页面浏览量？ 还是我实际上有 1000 个？ 匿名…

---

## [How much post editing/revision are my users doing?](https://meta.discourse.org/t/how-much-post-editing-revision-are-my-users-doing/75499)

<div class="topic-metadata">

**Author:** [@bombledmonk](https://meta.discourse.org/u/bombledmonk)\
**回覆:** 4\
**Last updated:** [2017年十二月6日 16:12 UTC](https://meta.discourse.org/t/how-much-post-editing-revision-are-my-users-doing/75499 "2017-12-06T16:12:02Z")

</div>

This is probably an edge case, but I’m curious to understand how much Editing/Revision is going on on my site. There are stats for Topics Viewed, Posts Viewed, Read Time, etc, but I’m looking also for how many edits a p…

---

## [如何在数据探索器中允许空参数值？](https://meta.discourse.org/t/how-to-allow-empty-param-values-in-data-explorer/140782)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**回覆:** 0\
**Last updated:** [2020年二月5日 20:59 UTC](https://meta.discourse.org/t/how-to-allow-empty-param-values-in-data-explorer/140782 "2020-02-05T20:59:40Z")

</div>

我希望允许过滤步骤为可选，但如果我将查询字段留空，则会收到错误： ---\[params\] --- string :query = '%' select uh.details from user\_histories uh where uh.details like case …

---

## [类别对所有人开放后仍保持静音状态](https://meta.discourse.org/t/category-remains-muted-after-category-is-available-to-everyone/139963)

<div class="topic-metadata">

**Author:** [@Craig\_Oates](https://meta.discourse.org/u/Craig_Oates)\
**回覆:** 2\
**Last updated:** [2020年一月30日 04:55 UTC](https://meta.discourse.org/t/category-remains-muted-after-category-is-available-to-everyone/139963 "2020-01-30T04:55:28Z")

</div>

您好，支持团队， 我们有一个名为“抢先预览”的类别，仅向特定客户开放。这些客户拥有自己的群组，并且可以查看该类别。 由于“抢先预览”已逐渐成熟，我们已移除该类别……

---

## [每个标签的主题数量](https://meta.discourse.org/t/number-of-topics-per-tag/139957)

<div class="topic-metadata">

**Author:** [@tpetrov](https://meta.discourse.org/u/tpetrov)\
**回覆:** 2\
**Last updated:** [2020年一月29日 14:28 UTC](https://meta.discourse.org/t/number-of-topics-per-tag/139957 "2020-01-29T14:28:55Z")

</div>

我希望能够获取所有标签的列表，以及每个标签在特定时间段（例如上个月）内创建的新主题/帖子数量。 有人能帮忙提供查询方法吗？

---

## [标签：管理员如何查看谁关注了哪些标签？](https://meta.discourse.org/t/tags-how-can-admin-see-who-is-following-what-tags/83445)

<div class="topic-metadata">

**Author:** [@brendand](https://meta.discourse.org/u/brendand)\
**回覆:** 4\
**Last updated:** [2020年一月27日 14:30 UTC](https://meta.discourse.org/t/tags-how-can-admin-see-who-is-following-what-tags/83445 "2020-01-27T14:30:44Z")

</div>

我们使用标签，想知道如何查看会员选择了关注哪些标签（无论是“观看”、“关注”等）特定标签？ 我们计划批量删除一些标签，但首先想了解如何……

---

## [GTM 使用错误](https://meta.discourse.org/t/gtm-usage-error/139232)

<div class="topic-metadata">

**Author:** [@Tomiikcz](https://meta.discourse.org/u/Tomiikcz)\
**回覆:** 6\
**Last updated:** [2020年一月21日 20:18 UTC](https://meta.discourse.org/t/gtm-usage-error/139232 "2020-01-21T20:18:08Z")

</div>

大家好， 当我们在应用设置中使用预配置的 GTM 容器 ID（例如 GTM-XYZXYZ），并且当然也将特定域名添加到白名单中时（根据“为 Analyt... 设置 Google Tag Manager”指南...

---

## [如何在数据资源管理器中转义冒号？](https://meta.discourse.org/t/how-to-escape-a-colon-in-data-explorer/138542)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**回覆:** 1\
**Last updated:** [2020年一月14日 18:14 UTC](https://meta.discourse.org/t/how-to-escape-a-colon-in-data-explorer/138542 "2020-01-14T18:14:22Z")

</div>

在数据浏览器中，我尝试使用 TO\_CHAR(p.created\_at, 'HH:MI:SS DD/MM/YY') 将日期转换为字符串，但解析器认为 :MI 是一个参数。是否有办法转义冒号？我尝试了 \\:，但没有效果。:: 会导致 …

---

## [帮助优化 SQL 查询以提取自定义徽章中的单词和图像数量，并统计主题发帖天数](https://meta.discourse.org/t/help-optimize-sql-query-for-a-custom-badge-extracting-number-of-words-and-images-and-counting-days-posted-in-a-topic/137969)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**回覆:** 1\
**Last updated:** [2020年一月9日 12:49 UTC](https://meta.discourse.org/t/help-optimize-sql-query-for-a-custom-badge-extracting-number-of-words-and-images-and-counting-days-posted-in-a-topic/137969 "2020-01-09T12:49:07Z")

</div>

继续讨论“如何从命令行强制授予所有徽章”的话题： 亲爱的社区成员，有人能帮忙优化这个用于自定义徽章的 SQL 查询吗？ 它统计发布的单词数量和图片数量……

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

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