Track Stats on the Community File Detail Page
It’s useful to know how many times people view and download your files. Now you can see these statistics at a glance in the File Engagement card on the file detail page in your community. The file’s lifetime views and downloads are counted from all user interfaces, including API and mobile.
Where: This change applies to Lightning Experience in Professional, Enterprise, Performance, and Developer editions.
How: Add the File Engagement card to the file detail page by to show stats.