You could use Google Analytics for WordPress. Here’s an excerpt from their FAQ on how you could set it to track certain file types:
How can I track downloads? Check the box for “Track outbound clicks &
downloads”, after that, make sure the file types you want to track are
listed in the box of extensions to track as downloads. You’ll find
this input field under “Advanced”.
Related Posts:
- WordPress 5.3 update causes media library file upload to break – Cannot convert undefined or null to object
- WordPress 3.5 Media Manager – add a button
- Way to force media uploader use custom image size
- Hook for image edit popup
- How can I attach images to a post from the media library?
- how does wp.media javascript library work?
- How to extend Media Library (WP 4.4)
- Best Apache Log Analyzer Plugin? [closed]
- Upload images from custom plugin using the media modal
- Getting media library popup in custom plugin admin page
- How to import 55k images (uploaded via FTP) into WordPress Media libary? [closed]
- Can I store WordPress media in different sub-folders?
- Is it possible to personalize the Media Library?
- Changing image URLs in media library
- WordPress 3.5 Media Manager – add a button
- Is it possible to insert images directly from the server?
- How to get the “stats” plugin that comes with a .wordpress.com blog?
- Delete Associated Media Upon Page / Post Deletion
- Group images in media library
- First WordPress Plugin – Stat Issues
- Any way to change the actual filename of an image from media manager?
- How organize uploaded media in WP?
- mp3 audio metadata upload integration: can I autopopulate title, caption, description from id3 tags?
- How to upload WordPress Images to remote web server and display those images in WordPress gallery [closed]
- date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)
- Make change in media library affect images in published articles
- Redirect to another page using contact form 7? [closed]
- How to display number of page views on a post?
- WordPress stats API key
- Add estimated value for a post according to the number of words
- How to track clicks
- Is it possible to remove subscription box from Jetpack stats page? [closed]
- WordPress stats: OWA plugin overhead in the future
- Allowing .rfa Files In Media Upload [duplicate]
- How to do database for download stats?
- How to fix broken media library?
- download button for audio file in post [closed]
- Issue removing Media Editor Tabs — Duplicate Items
- Can I remove an image from the Gallery without deleting it from the Media Library?
- Show Homepage (only) Hits Count
- Why does “updated_post_meta” did not fire when uploading media other than image?
- WordPress not showing manually uploaded files in Uploads folder on Media Library
- how does ‘init’ /’parse_request’ hook work for wordpress?
- How to upload large media file in chunks, without any plugin?
- Bulk Image Resize for Media Library, but for ENLARGING instead of Shrinking
- Admin Custom Plugin List Files in admin Table
- How to copy the all WordPress media items to another custom plugin folder?
- Bulk Edit Media Library alt, caption, image names
- Optimise wordpress database using SQL after deleting registered images from Media Folder
- Which post/page an image is attached to
- Is it possible to pull all featured images from WP database only?
- Media Dialog CSS broken in WP v.5.3.2
- Multiple image selection custom widget
- Looking for Image Slider that is based on default WP Media Library
- Image paths wrong after migrating with wp-migrate-db-pro media files add-on
- WordPress Media Uploader : How to add custom button on featured image tab
- flip horizontal images in bulk
- Using WordPress to create a simple web app (SaaS) [closed]
- Media Upload to custom database and Custom Directory
- Attachments plugin cannot click media library button [closed]
- Plugin hook breaks new WP 4.0 media library grid view?
- Multiple thumbnails and one gallery
- How can I use multi Media Uploader in a plugin?
- Is it safe to increase/alter the size of the wp_post.guid column from VARCHAR(255) to VARCHAR(2048)?
- add_image_size is not generatin images of correct dimensions
- “Virtual” image in WP Media Library (external URL)
- Ajax response from Media Selection does not update ALL information more than once
- WordPress Media Library can’t see compressed images
- Cropping images from top center using Jetpack Photon
- Localizing methods for jQuery append prepend wrap parent
- Infinite scroll messing up nth:of-type
- How can I exclude a dynamic URL to show a popup created using ‘WordPress Popup’ plugin
- How do I find out which plugin is exceeding memory limits?
- How can I apply a WP filter on specific plugin version
- Taxonomy Drill-Down / Plugin Help – hierarchical queries within plugin?
- How to create Admin Notice from Plugin with argument? [duplicate]
- How to connect rating to individual comments?
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- Edit / Change Jetpack Mobile Theme [closed]
- How to multiply a post to test internal search results?
- Looking for advice for a mail sending plugin
- How do I avoid having duplicate of plugin in trunk?
- Are links allowed in the Upgrade Notice section of a plugin’s readme.txt file?
- Use conditional logic for woocommerce variable product
- Use different single.php file based on condition
- Change the style of h1, h2, only in post entry
- wp-load.php redeclares classes
- How to customize a title by passing query string?
- How to create wordpress widget that is fixed position on the home page
- How do I rename a category in the menu bar only?
- Remove Advanced Custom Fields plugin for client?
- How to reset the plugins without deactivate the plugin
- plugins_url() works everywhere but wp_reqister_script()
- Better WP Security : dashboard doesn’t work any more
- Too many login attempts
- How to check if an email was sent from or originated from a specific plugin?
- Wooslider custom css
- Software to run on server checking outdated wordpress installations
- Where is this strange og:description coming from?
- Using Variable in WordPress Translate Functions