Features
The goal of this module is to provide anonymous analytics, counting entity views even for anonymous users.
As it exists in Drupal 10.3+ core and in the module initial version for Drupal 11.x:
- it only counts views of node in full page mode
- it only maintains running grand total and daily subtotal of views, and no historical data
See the module evolution plan at #3436823: Plan for Statistics 1.x.
Post-Installation
Once the module is installed, counting is made available to Views, but is not automatically enabled. No default view is provided in the initial release, to match Drupal the legacy Drupal core behavior. Enable counting at /admin/config/system/statistics.
Counting may be disabled while leaving the module enabled, to support resuming counting, while uninstalling the module will remove the existing counts.
If you are already using the Drupal core Statistics module, please see
Replacing the Core Statistics Module.
Additional Requirements
This module only depends on the entity system and provides its own front controller.
Recommended modules/libraries
This module exposes its data to Views.
Similar projects
Unlike Google Analytics, Matomo, and most others analytics services, this module is fully anonymous to preserve user privacy, focusing on the content popularity instead of user tracking. It is meant to not handle any PII, thus not needing user consent.
Supporting this Module
If you want to sponsor the many changes planned for the module, open an issue in the project queue and the maintainers will get in touch.
Community Documentation
Currently https://www.drupal.org/docs/8/core/modules/statistics/statistics-module-... : likely to move after Drupal 10 EOL.
Project information
- Project categories: Administration tools, User engagement
5,725 sites report using this module
- Created by fgm on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
