Debug
react-matomo-kit can print helpful debug logs:
✅ When events are queued
✅ When events are sent
✅ When the queue flushes
Enable debug
<MatomoProvider config={matomoConfig} debug>
<MatomoAutoPageView />
<App />
</MatomoProvider>
Example output
[matomo] AutoPageView: /my-page
[matomo] Queued or pushed: ["trackEvent", "Cat", "Click", "Clicked Cat", 1]
[matomo] Flushing queue: [...]
When to use
✅ During local dev
✅ When testing your analytics
✅ When troubleshooting why data is missing