maikschneider / analytics-matomo
Shows Matomo statistics in the TYPO3 Page module and on the dashboard.
Package info
github.com/maikschneider/analytics-matomo
Type:typo3-cms-extension
pkg:composer/maikschneider/analytics-matomo
Requires
- php: ^8.2
- typo3/cms-backend: ^13.4 || ^14.3
- typo3/cms-core: ^13.4 || ^14.3
- typo3/cms-dashboard: ^13.4 || ^14.3
- typo3/cms-fluid: ^13.4 || ^14.3
Requires (Dev)
- armin/editorconfig-cli: ^2.1
- ergebnis/composer-normalize: ^2.45
- friendsofphp/php-cs-fixer: ^3.64
- move-elevator/composer-translation-validator: ^1.3
- phpstan/extension-installer: ^1.3
- saschaegerer/phpstan-typo3: ^2.1 || ^3.0
- ssch/typo3-rector: ^3.0
- symfony/translation: ^7.2
- symfony/yaml: ^7.2
- typo3/cms-install: ^13.4 || ^14.3
- typo3/testing-framework: ^9.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-07 05:26:45 UTC
README
TYPO3 extension analytics_matomo
Shows Matomo statistics in the TYPO3 backend: a statistics bar for the current page in the Page module and dashboard widgets for whole sites.
Note
Alpha. Look and feel follow the page performance bar and dashboard widgets of TYPO3GmbH/analytics, the data comes from your own Matomo.
✨ Features
- Statistics bar above the page content: page views, bounce rate, average time on page and exit rate with trend and sparkline, loaded asynchronously, so a slow Matomo never slows down the Page module
- Dashboard widgets: site performance, visits over time, top pages (linked to the Page module), channels, devices, browsers and countries, plus the dashboard preset Matomo overview
- Several sites per Matomo instance: all widgets show the site and period chosen by the editor, top pages only list URLs of that site
- Periods of 7, 14 and 30 days, link to the full report in Matomo
- Uses the URL of the selected language
- Opt-in per backend group: separate permissions for page and site statistics
- One HTTP request per page or widget and period, cached for an hour
- Reuses the Matomo URL and site ID of EXT:matomo_integration, EXT:matomo_widgets or EXT:matomo_tracking
- Demo data mode (
analyticsMatomo.demoData) to try it out without a Matomo instance
🔥 Installation
composer require maikschneider/analytics-matomo
Add the site set Analytics for Matomo (maikschneider/analytics-matomo) to your site.
| Dependency | Version |
|---|---|
| PHP | ^8.2 |
| TYPO3 | ^13.4 || ^14.3 |
| Matomo | 5, 6 |
⚙️ Configuration
# config/sites/<site>/settings.yaml analyticsMatomo: url: 'https://matomo.example.com/' idSite: 1 tokenAuth: '%env(MATOMO_TOKEN)%'
Use the token of a Matomo user with view access to this one site.
📙 Documentation
🧑💻 Contributing
See CONTRIBUTING.md. ddev init-typo3 sets up a demo instance with two sites, three languages, an editor and demo data to click through.
⭐ License
This project is licensed under GNU General Public License 2.0 (or later).