Adds the Matomo web statistics tracking system to your website.
The module allows you to add the following statistics features to your site:
- Single/multi domain tracking
- Selectively track/exclude certain users, roles and pages
- Monitor what type of links are tracked (downloads, outgoing and mailto)
- Monitor what files are downloaded from your pages
- Cache the Matomo code on your local server for improved page loading times
- Custom variables support with tokens (D7 only)
- Custom code snippets
- Site Search
- Drupal messages tracking
- Modal dialog tracking (Colorbox)
- Access denied (403) and Page not found (404) tracking
- User ID tracking across devices
- DoNotTrack support
- Asynchronous tracking
- Matomo Tag manager
Requirements
- a Matomo version 3.3.0 or later is required
- a Matomo website ID
Configuration
In the settings page (/admin/config/system/matomo), enter your Matomo website
ID.
All pages will now have the required JavaScript added to the HTML footer.
You can confirm this by viewing the page source from your browser.
More info in the README.md file.
Related modules
- Matomo Reports provides graphical reporting of your site's tracking data inside Drupal.
- Matomo Reporting API provides an API to retrieve statistics from Matomo.
- Matomo noscript if you may need to track the ~1% of users with disabled javascript and search engine bots that may destroy your statistics.
Maintainers
Current maintainers:
Previous maintainers:
- Alexander Hass (hass)
Supporting organizations:
Maintenance
Project information
- Module categories: Integrations
- 20,386 sites report using this module
- Created by hass on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.23
released 25 November 2023
Works with Drupal: ^9.0 || ^10
✓ Recommended by the project’s maintainer.
Install:
Development version: 8.x-1.x-dev updated 25 Nov 2023 at 18:11 UTC
7.x-2.15
released 2 August 2023
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-2.x-dev updated 2 Aug 2023 at 18:38 UTC