I’ve searched and can’t find explicitly what the ‘Top Referred Topics’ measures. Does it include when a topic is clicked via search engine, or just when shared by a user?
Top Referred Topics are the topics that have been shared most frequently by referrers. The number of clicks is the number of times people have clicked through from a referral link posted anywhere else on the Internet.
Curious on the method/reliability of the metrics in the dashboard
Would that number ever show as lower than a previous report?
i.e. a hosting site removes the link so report shows one lower click
Could a topic on the report be removed without being knocked off by a higher clicked topic?
Hawk or anyone who knows, Thank you
@j.jaffeux can probably answer that for you
This report is using IncomingLinksReport model:
https://github.com/discourse/discourse/blob/master/app/models/incoming_links_report.rb#L125
The query is basically:
- Count of all IncomingLink in topics with archetype being Archetype.default
- In a given category if specified
- Between two dates
- grouped by topic_id
- keep a limited amount of the highest counts
An IncomingLink is created on topic show:
https://github.com/discourse/discourse/blob/master/app/controllers/topics_controller.rb#L946
The only operations that I’m aware of on IncomingLink are updating ip/owner. IncomingLink destruction happens only if you use destroy_task.
I might be missing a where clause, but AFAIK destroying a post won’t remove the IncomingLink record.
Thank you so much, seems the main dashboard report is for 7 days which was causing my confusion,
sadly I’ve looked at it many times and never figured that out till now ![]()
I’d like to suggest a note on that

我也有同样的问题,而且上面的回复和管理员页面的帮助提示都没有清楚地解释“Top Referred Topics”到底是什么意思。有人能用五岁小孩能懂的语言解释一下吗?
这是用户在其他地方分享并被点击的主题数量。
让我为自己重新表述一下,希望我理解得对(?):
热门推荐主题报告
- 显示当前论坛中的主题
- 访问者通过其他网站的链接访问了这些主题。
- “点击次数”列显示了这种情况发生的次数。
- 其他网站上的任何此类链接都计算在内。它不需要通过 discourse 的分享按钮分享。
- 导航到当前论坛中的主题,或点击当前论坛中帖子正文内的链接,或直接在浏览器地址栏中输入主题的网址,均不计算在内。
(当你对这些东西不熟悉时,有很多种解释方式。我猜“推荐”和“点击次数”是(比较)标准的术语,但我可能会更快地理解“来自外部的热门访问主题”和“访问次数”。)
我认为这些需要由某人“推荐”(即,成为包含您用户名的链接之一。例如,如果我在 Facebook 上发布此链接:https://meta.discourse.org/t/what-does-top-referred-topics-measure/99464/7?u=jammydodger)
我对这一点有些怀疑,因为我的“推荐人报告”是空的(这似乎是准确的,因为还没有人开始使用“分享”按钮),而我的“推荐主题报告”中有10个项目。
我想知道当由Discourse托管时,是否可以看到更多关于传入链接/推荐网站的详细信息。