# Как скрыть счетчик кликов по внутренним ссылкам

**URL:** <https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569>\
**Category:** Feature\
**Tags:** click-counter\
**Created:** [18.Февраль.2023 17:56:37 UTC](https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569 "2023-02-18T17:56:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [18.Февраль.2023 17:56:37 UTC](https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569/1 "2023-02-18T17:56:37Z")

</div>

Бывают случаи, когда не хочется видеть счётчики кликов по внутренним ссылкам в темах. Один из примеров, с которым я недавно столкнулся, — это ссылки на пересечение тегов, доступ к которым в Discourse в остальном всё ещё довольно затруднён. Например:

Ссылка вроде [https://meta.discourse.org/tags/intersection/official/pr-welcome](https://meta.discourse.org/tags/intersection/official/pr-welcome) выглядит так: [Topics tagged official & pr-welcome](https://meta.discourse.org/tags/intersection/official/pr-welcome).

Как только несколько человек начнут нажимать на эту ссылку, рядом с ней появится счётчик кликов. Это немного сбивает с толку, потому что в данном случае интуитивно кажется, что счётчик должен отображать количество тем, а не количество кликов.

Я заметил, что задавал похожий вопрос ещё в 2015 году (!!), и предложенным решением было использование пользовательского CSS. Это, вероятно, всё ещё сработает — возможно, мы могли бы найти способ реализовать это через компонент темы? Или же просто не показывать счётчик на внутренних ссылках, которые ведут не на темы? 🤔

> [@How to hide click counter on internal anchor links in the same post?](https://meta.discourse.org/t/how-to-hide-click-counter-on-internal-anchor-links-in-the-same-post/31377?u=tobiaseigen):
>
> There’s probably not much can be done about this and it might not matter to anyone else, but I see it as a bug - it’s odd to me that when I create a table of contents for a long wiki post that it then shows the click count next to each link. This could get pretty crazy and doesn’t really bring anything. As exemplified on a [wiki page](http://community.namati.org/t/common-questions-about-using-the-network-platform/1467) I created on my site: [image] Continuing the discussion from [HTML anchors should be added](https://meta.discourse.org/t/html-anchors-should-be-added/16455/32):

---

_[View the full topic](https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569)._
