Statistics 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".
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.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | Oct 15, 2024 | |||
| 1.x-dev | Dev | Oct 15, 2024 |