Part of the Statistics ecosystem · 4 projects
This module enhances the core statistics module by tracking content views over a customizable rolling period. It allows for AJAX-based counting, which is useful for caching systems like Varnish, and provides a view field to display daily counts within that rolling period.
This module extends the statistics module to count views over a rolling period (for example if you need to know how many times a node was displayed over the last 15 days).
Features
- AJAX count (to work with Varnish caching for example)
- Provides a view field corresponding to the daily count over the rolling period
The module does not yet provide every feature available in the base statistics module, but contributions are welcome.
Post-Installation
The count_content_views option of the statistics module needs to be enabled for view tracking to work.
You then need to configure the rolling period on /admin/config/system/statistics.
Sort a view by total count over daily period
The "Day count during rolling period" field available in views is a multi-valued field pointing to the daily count for each day of the rolling period.
So if you want to sort a view by total count over this period, you need to enable grouping on the view and set the grouping type for this field on "sum".
Ask your assistant about Statistics rolling period
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Statistics ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 10 | Oct 15, 2024 | ||
| 1.x-dev | Dev | 10–11 | Oct 15, 2024 |