# How to show a download count on files uploaded to a post (Pro hosting, theme component only)?

**URL:** <https://meta.discourse.org/t/how-to-show-a-download-count-on-files-uploaded-to-a-post-pro-hosting-theme-component-only/417810>\
**Category:** Extras\
**Created:** [19 בנובמבר,‏ 2026,‏ 6:51am UTC](https://meta.discourse.org/t/how-to-show-a-download-count-on-files-uploaded-to-a-post-pro-hosting-theme-component-only/417810 "2026-11-19T06:51:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Rajat\_99](https://avatars.discourse-cdn.com/v4/letter/r/b5a626/32.png) [@Rajat\_99](https://meta.discourse.org/u/Rajat_99)\
**Post date:** [19 בנובמבר,‏ 2026,‏ 7:31am UTC](https://meta.discourse.org/t/how-to-show-a-download-count-on-files-uploaded-to-a-post-pro-hosting-theme-component-only/417810/2 "2026-11-19T07:31:22Z")

</div>

> [@Jessica\_S](#):
>
> Shows the download button, favorites count and install/download count on a resource page.
> 
> Any pointers, example code, or existing components would be really appreciated. Thank you!

@Jessica_S Interesting requirement! A few questions:

1. Do you need total downloads or unique downloads per user?

2. Should downloads from guests also be counted?

3. Are you open to an external API for tracking if Discourse doesn’t expose attachment download events?

---

_[View the full topic](https://meta.discourse.org/t/how-to-show-a-download-count-on-files-uploaded-to-a-post-pro-hosting-theme-component-only/417810)._
