# 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:** 1
**Showing post:** 3

<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)

---

_[View the full topic](https://meta.discourse.org/t/why-no-view-count-on-mobile/263003)._
