Plugin screenshot thumbnail 1/3
Plugin screenshot thumbnail 2/3
Plugin screenshot thumbnail 3/3

Track views via Twig, PHP, or AJAX

Basic tracking looks like this...

{% do craft.viewCount.increment(elementId) %}

And there are several more advanced ways to increment a view counter.

Allow multiple counters on the same element

If you need to track multiple aspects of the same element, it's easy to do so! Simply specify an optional key when setting up the tracking mechanism.

Sort by "most viewed"

Once you've started logging views, you'll likely want to know which items have been viewed the most...

Display view totals in the control panel

You can add a "Total Views" field, which displays a read-only total for each element.

Etc, etc, etc.

It's a very flexible plugin. Read the full documentation to see what else is possible.


Still have questions? Contact us at support@doublesecretagency.com.

Price includes 1 year of updates.
$9/year per site for updates after that.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
579
Version
1.1.1
License
Craft
Compatibility
Craft 3, Craft 4
Last release
August 2, 2022
Categories
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs