# Why no view count on mobile

**URL:** https://meta.discourse.org/t/why-no-view-count-on-mobile/263003
**Category:** Development
**Created:** [April 26, 2023, 8:53pm UTC](https://meta.discourse.org/t/why-no-view-count-on-mobile/263003 "2023-04-26T20:53:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Diyorki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/diyorki/32/302879_2.png) [@Diyorki](https://meta.discourse.org/u/Diyorki)
#### Post date: [April 26, 2023, 8:53pm UTC](https://meta.discourse.org/t/why-no-view-count-on-mobile/263003/1 "2023-04-26T20:53:33Z")

</div>

Hi friends After adding a topic to the site from mobile, I can’t see how many people have read the opened topic, When I am on mobile, I check show the site as desktop from chrome, but there is no feature how many people have seen a subject like on the computer, you can understand if you look at the pictures, thanks.

 ![IMG-20230426-WA0006](https://global.discourse-cdn.com/meta/original/4X/c/6/e/c6e3aa97285fd314ae65adc9a20676c5cba142ed.jpeg)

 ![Screenshot_2023-04-26-19-05-00-162_com.android.chrome](https://global.discourse-cdn.com/meta/original/4X/f/a/0/fa068b08daa92fd316586088feecf1f39100ac45.jpeg)

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [April 26, 2023, 9:29pm UTC](https://meta.discourse.org/t/why-no-view-count-on-mobile/263003/2 "2023-04-26T21:29:33Z")

</div>

If the topic has any replies then the number of views is also displayed within the topic itself:

 ![IMG_8419](https://global.discourse-cdn.com/meta/original/4X/f/2/2/f22d468a67a0a260eaa12d813e93fa1708f35484.jpeg)

---

<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: [April 26, 2023, 9:52pm UTC](https://meta.discourse.org/t/why-no-view-count-on-mobile/263003/3 "2023-04-26T21:52:16Z")

</div>

Hi!

You can override the template and add this information, as @steven shows here in his component that changes the mobile view. The component itself doesn’t add the view count, but he explains how to add the count in the template:

> [@MD Topic List Mobile component](https://meta.discourse.org/t/md-topic-list-mobile-component/146341/21):
>
> It’s doable [image] I don’t know if I would put this in the default settings, but if you want to try it, here is the code to add in the header section {{d-icon "eye"}} {{number topic.views numberKey="views\_long"}} and {{#if hasLikes}}{{d-icon "heart"}} \<a href='{{topic.summaryUrl}}'\>{{number topic.like\_count}}\</a\>{{/if}} For my screen, I used this: \<script type='text/x-handlebars' data-template-name='mobile/list/topic-list-item.hbr'\> \<td class="topic-list-data"\> {{~raw-plugin-outlet nam…

More info about overriding template: [https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648#overriding-discourse-templates-23](https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648#overriding-discourse-templates-23)

You can also have a look at this: [Display replies and likes count in mobile view](https://meta.discourse.org/t/display-replies-and-likes-count-in-mobile-view/203473)

I found the links using the search by the way 🙂  
🔎

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/1/0/610e4480f4a2c2d680f4fe25ccae56f32a95a9b7.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 11, 2023, 9:13am UTC](https://meta.discourse.org/t/why-no-view-count-on-mobile/263003/5 "2023-06-11T09:13:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
