Tally counts how many times each entry is read and lets you show that number in your templates.
What it does:
- Counts one view each time Craft renders an entry's page.
- Prints a count with
{{ craft.tally.count(entry) }}, for all time or for the last few days. - Builds a "most read" list with
craft.tally.popular({section: 'blog', days: 30, limit: 5}). It returns a normal entry query, in popularity order. - Works behind a static page cache. Add one tag,
{{ craft.tally.beacon(entry) }}, and each page load in a browser sends one signed request that counts the view. - Skips known crawlers, monitors, command line tools and headless browsers. You can add your own pattern in the settings.
- Adds a "Views" column to the entries index.
What it stores: an element id, a site id, a day and a count. It does not store IP addresses, User-Agent strings, cookies or anything about the visitor, and it sends nothing to any outside server.
What it does not do: it counts page loads, not people, and it has no chart in the control panel.
If you already use another view counter, here is how Tally differs. Odometer is a free plugin that does a similar job. Store View counts views too, and works behind Blitz. Tally is a paid plugin with a signed beacon for any static cache, a bot filter you can extend, and a "most read" query that returns entries in order. Pick the one that fits your site.
Free in development and staging, as for every Craft plugin.
Standard
Plus $5/year after one year.
To install this plugin, copy the command above to your terminal.
This plugin doesn't have any reviews.
