# Hoe de klik-teller op interne links niet weer te geven

**URL:** https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569
**Category:** Feature
**Tags:** click-counter
**Created:** [18 februari 2023 om 17:56 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:** 4
**Page:** 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 februari 2023 om 17:56 UTC](https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569/1 "2023-02-18T17:56:37Z")

</div>

There are times when you don’t want to see the click counts on internal links in topics. One example that came up for me recently is links to intersection of tags, which otherwise is still a bit hard to get to in discourse. e.g.

A link like [https://meta.discourse.org/tags/intersection/official/pr-welcome](https://meta.discourse.org/tags/intersection/official/pr-welcome) looks like this: [Topics tagged official & pr-welcome](https://meta.discourse.org/tags/intersection/official/pr-welcome).

Once a few people start clicking on that link, a click counter will start displaying next to it. It’s a bit confusing because in this case cognitively you’d think the counter would represent the number of topics, not the number of clicks.

I saw I asked a similar question back in 2015 (!!) and the solution offered was some custom css. This probably would still work - maybe we could find a way to handle this in a theme component? Or we do not show the counter on internal links that are not to topics? 🤔

> [@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):
>
> 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):

---

<div class="post-metadata">

### Author: ![agungor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/agungor/32/260344_2.png) [@agungor](https://meta.discourse.org/u/agungor)
#### Post date: [19 februari 2023 om 00:37 UTC](https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569/3 "2023-02-19T00:37:51Z")

</div>

I personally would be delighted if there were options to: i) Create an individual link in a way that the click counter would be suppressed; ii) Turn off the link click counters globally for all links in a Discourse instance. 😊

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [20 februari 2023 om 01:37 UTC](https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569/4 "2023-02-20T01:37:38Z")

</div>

A trivial theme component can achieve this…

Once you wrap markdown with:

```plaintext
[wrap=no-counts]

[/wrap]

```

It is surrounded by:

`<div class="d-wrap" data-wrap="no-counts"></div>`

So then you would use a single CSS rule in the theme components to hide the count element.

---

<div class="post-metadata">

### Author: ![agungor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/agungor/32/260344_2.png) [@agungor](https://meta.discourse.org/u/agungor)
#### Post date: [21 april 2023 om 16:37 UTC](https://meta.discourse.org/t/how-to-not-show-click-counter-on-internal-links/255569/5 "2023-04-21T16:37:07Z")

</div>

Thanks, Sam. I will give this a try 👍🏻
