Matomo Analytics: Troubleshooting
Troubleshooting Matomo Analytics for OXID eShop 7: missing tracking code, no data in Matomo, Klaro, orders and cart, plus the known limitations of the module.
Matomo Analytics: Troubleshooting
Live Demo: Try this and other plugins live — no installation, no risk: demo.markus-michalski.net
The tracking code does not appear in the page source
Check in this order:
- Was the module activated with
vendor/bin/oe-console oe:module:activate mmd_matomo_analytics? - Is Enable tracking on, is the Matomo URL a valid
https://URL and the Site ID greater than 0? Anhttp://URL is not accepted. - Is Respect Do-Not-Track on and does your browser send
DNT: 1? Then the module delivers no code without the Klaro integration. - Is Require consent on, cookieless tracking off and Klaro off? Then the module needs one of the consent cookies with a positive value, see Privacy and Consent.
- Does your shop use the Apex theme? For other themes you have to extend the blocks yourself, see Storefront and Templates.
- Clear the cache:
vendor/bin/oe-console oe:cache:clear
No data in Matomo
- Check the browser console for JavaScript errors.
- Compare the site ID with the site ID in Matomo.
- Check whether your IP address is excluded in Matomo or an ad blocker blocks Matomo.
- Is Require consent on without Klaro? The module outputs
requireConsentbut nosetConsentGiven. Matomo then sends nothing until your own script reports the consent.
Klaro integration does not work
- Does the Klaro service name match the
nameof the Klaro service exactly? - Does the page source show
type="text/plain"on the tracking script anddata-namewith the service name? - Has the visitor consented to the service? Only then does Klaro execute the script.
- Clear the cache after changing settings.
E-Commerce tracking does not work
- Are Enable E-Commerce tracking and the individual switch on?
- Orders: is the code output on the confirmation page? It is output only once per order. Reloading the page does not send the order again.
- Product views: the code is only output when the current page provides a product.
Known limitations
- IP anonymization: The setting has no effect. Anonymize IP addresses in your Matomo installation.
- Cart tracking: It is not event-based. Every page with a non-empty cart sends a cart update.
- Links and downloads: Both switches control the same
enableLinkTrackingcall and cannot be turned off individually. - Themes: Tracking templates exist for Apex only.
- Consent without Klaro: The module never reports
setConsentGivenby itself. - Opt-out widget: It shows the iframe even when tracking is off, as soon as a Matomo URL is saved.