I had to move our self-hosted Matomo + Tag Manager installation to another domain. Matomo Analytics work, including the custom events I added to the JS. MTM works too, including the preview mode. But I discovered today that the tags in MTM don’t pass on events to the Analytics. They’re not visible there at least. Obviously I updated the Matomo Configuration
variable in MTM (at [Container name] > Variables > Matomo Configuration) to include the new Matomo URL. The other settings seem to be fine too.
I also tried creating a completely new test container, but that one didn’t pass data on to the analytics either. Any tips?
*Edit: *
Things I’ve done to debug this:
- Matomo’s system check doesn’t show any issues other than the recommendations to set up a crontab and to convert the database to UTF8mb4 charset.
- Enabling
window._mtm.push(['enableDebugMode']);
shows that triggers and tags are working as expected (except that they don’t show up in Analytics). - Create a new MTM container, assign the
Matomo Configuration
variable, set up test trigger and tag. Same results. - Disable and enable the
Bundle Tracker
setting.