Part of the Entity ecosystem · 310 projects
entity_metrics tracks page views and downloads for entities on your Drupal site.
Entity Metrics records node page views and media downloads on your Drupal site. It can also enrich recorded events with approximate geographic information using a local MaxMind database.
Features
- Records node page views and media file downloads.
- Provides optional local geolocation for recorded events.
- Includes an optional submodule to limit recorded page views by IP address.
Requirements
- Drupal 10 or 11
- GeoIP Auto-Update
- The MaxMind DB Reader library, installed through Composer
Installation and configuration
- Install the module and its dependencies using Composer, then enable Entity Metrics.
- To use geolocation, configure a private file directory and set up GeoIP Auto-Update with a MaxMind account and a GeoLite2 City database.
- Enable local geolocation processing at
/admin/config/system/entity-metricsand run cron regularly. - To limit page-view recording, enable the optional Entity Metrics Rate Limiter submodule.
See the module's README for detailed setup instructions, including the GeoIP Auto-Update patch required by version 1.0.0.
Ask your assistant about Entity Metrics
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 Entity ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta6 | Pre-release | 10–11 | Oct 1, 2026 | ||
| 1.0.0-beta5 | Pre-release | 10–11 | Sep 30, 2026 | ||
| 1.0.0-beta4 | Pre-release | 10–11 | Sep 23, 2026 | ||
| 1.0.0-beta3 | Pre-release | 10–11 | Dec 4, 2024 | ||
| 1.0.0-beta2 | Pre-release | 10–11 | Dec 4, 2024 | ||
| 1.0.0-beta1 | Pre-release | 10–11 | Nov 5, 2024 | ||
| 1.0.x-dev | Dev | 10–11 | Nov 5, 2024 |