Matomo Analytics: Installation
Installing Matomo Analytics for OXID eShop 7 via Composer, activation, first steps after installation and updating.
Matomo Analytics: Installation
Live Demo: Try this and other plugins live — no installation, no risk: demo.markus-michalski.net
Requirements
| Requirement | Note |
|---|---|
| OXID eShop | oxid-esales/oxideshop-ce ^7.0 |
| PHP | >=8.2 according to composer.json |
| Matomo | Reachable via an HTTPS URL |
| Theme | Apex (bundled), see Storefront and Templates for other themes |
The code uses typed class constants (
private const string) and therefore effectively requires PHP 8.3, even thoughcomposer.jsonstates>=8.2.
Installation via Composer
The module is delivered through a private repository (Packeton). You receive the credentials with the license.
1. Add the repository (in your shop's composer.json):
{
"repositories": [
{
"type": "composer",
"url": "https://packeton.markus-michalski.net"
}
]
}
2. Install the module:
composer require mmd/oxid7-matomo-integration
Composer installs the module to source/modules/mmd/matomo-integration.
3. Activate the module and clear the cache:
vendor/bin/oe-console oe:module:activate mmd_matomo_analytics
vendor/bin/oe-console oe:cache:clear
After installation
The module is switched off after activation. In the admin under Extensions → Modules → Matomo Analytics → Settings, enter the Matomo URL and the site ID and enable tracking. All settings are listed under Configuration.
Update
composer update mmd/oxid7-matomo-integration
vendor/bin/oe-console oe:cache:clear