# Disabling view counts in statisticsjson

**URL:** https://meta.discourse.org/t/disabling-view-counts-in-statisticsjson/345639
**Category:** Support
**Created:** [January 5, 2025, 5:43am UTC](https://meta.discourse.org/t/disabling-view-counts-in-statisticsjson/345639 "2025-01-05T05:43:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [January 5, 2025, 5:43am UTC](https://meta.discourse.org/t/disabling-view-counts-in-statisticsjson/345639/1 "2025-01-05T05:43:10Z")

</div>

Is there a way to completely hide views from the UI? I can do this using CSS, but is it also possible to manually disable it so that it does not get fetched, even in `statistics.json`?

My primary intention is either to stop capturing the view count entirely, completely remove this feature, or at the very least, limit it to the admin.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [January 5, 2025, 12:17pm UTC](https://meta.discourse.org/t/disabling-view-counts-in-statisticsjson/345639/2 "2025-01-05T12:17:33Z")

</div>

Did you try this?

> [@Can you block json feedback from being public? (e.g /site/statistics.json /site/basic-info.json)](https://meta.discourse.org/t/can-you-block-json-feedback-from-being-public-e-g-site-statistics-json-site-basic-info-json/73374/6):
>
> @David_Foster To prevent statistics.json from being publicly visible, turn off share anonymized statistics (Admin-\>Settings-\>Other) Note that the information is also on the About page so you may want to [override the about.hbs template](https://meta.discourse.org/t/how-to-customize-discourse-templates/34813).

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 5, 2025, 12:37pm UTC](https://meta.discourse.org/t/disabling-view-counts-in-statisticsjson/345639/3 "2025-01-05T12:37:27Z")

</div>

> [@MihirR](#):
>
> My primary intention is either to stop capturing the view count entirely

If you were to do that then discourse wouldn’t be able to tell what posts and topics were read or new. You don’t want that.

You could change what’s available with a plugin.

How is letting users see these numbers a problem? What problem will this solve?

---

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [January 5, 2025, 12:46pm UTC](https://meta.discourse.org/t/disabling-view-counts-in-statisticsjson/345639/4 "2025-01-05T12:46:42Z")

</div>

Thank you, it actually helped. Also, that statistics was built just to share with Discourse or does it have any additional benefit too?

---

<div class="post-metadata">

### Author: ![MihirR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mihirr/32/475158_2.png) [@MihirR](https://meta.discourse.org/u/MihirR)
#### Post date: [January 5, 2025, 12:59pm UTC](https://meta.discourse.org/t/disabling-view-counts-in-statisticsjson/345639/5 "2025-01-05T12:59:51Z")

</div>

Oh, I wasn’t sure that it would affect new topics as well. Actually, my main motive is to limit some features; it feels like there are too many, such as view counts and user stats. For now, my primary interest is in the view count. I know it may not be an extreme issue, but I think there should be flexibility in what to show and what not to, to personalize the forum accordingly.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 5, 2025, 1:34pm UTC](https://meta.discourse.org/t/disabling-view-counts-in-statisticsjson/345639/6 "2025-01-05T13:34:31Z")

</div>

> [@MihirR](#):
>
> it feels like there are too many

To many for what?

What is the actual problem you’re trying to solve? Is it that the user interface is cluttered? Users will somehow game the system?

> [@MihirR](#):
>
> I think there should be flexibility in what to show and what not to,

You can easily hide it with css.

Those stats are basically free since tracking what a user has read is required to show a user what is new and seen and so on.
