verbb / asset-count
A Craft CMS plugin for tracking asset views and downloads.
Package info
Type:craft-plugin
pkg:composer/verbb/asset-count
Fund package maintenance!
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- jaybizzle/crawler-detect: ^1.3
- verbb/base: ^3.0.20
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-27 23:22:00 UTC
README
Asset Count for Craft CMS
Asset Count is a Craft CMS plugin that shows which downloadable assets people actually use. Send visitors through a tracked asset URL, keep the original file delivery intact, and bring the resulting totals back into Craft.
Generate a tracked URL for any Craft asset and use it wherever you offer a download. Each visit is counted before the visitor is redirected to the original file, so your templates stay in control of the surrounding experience.
Features
- Wrap an existing asset in a countable URL without moving or duplicating the file.
- Show download counts in Craft or retrieve them in Twig alongside the asset.
- Keep likely crawlers from inflating totals when bot detection is enabled.
- Ignore signed-in visitors or nominated IP addresses when required.
- Reset an asset's count from the control panel when a campaign or reporting period changes.
- Manage the counting rules in plugin settings or project configuration.
Documentation
Visit the Asset Count Plugin page for all documentation, guides, pricing and developer resources.
Credit & Thanks
Thanks to Ben Croker for the Entry Count Plugin.
Support
Get in touch with us via the Asset Count Support page or by creating a GitHub issue.
Sponsor
Asset Count is licensed under the MIT license, so it will always be free and open source. If you'd like to support it anyway, you can sponsor its development.