Multisite wont embed Matomo in new subsite

Hi,

we have a WordPress project that has been using Matomo for several years. We use the “Connect Matomo” plugin and a separately set up Matomo server.

The project has now been converted to a multisite. The counting of visits to the original website remains unchanged. The problem now is that the new subsite set up in the multisite does not output the tracking pixel for Matomo in the frontend.

In the site settings under Settings, I see the fields wp-piwik-site_id, wp-piwik-noscript_code, etc., which I believe are all filled in correctly. There is also a different site ID here than on the original page.

What else needs to be done so that the tracking pixel is also output in the frontend?

Note: I have already disabled the caching plugin on a trial basis – without any change.

1 Like

It has since resolved itself. I suspect some kind of cache is the cause.

1 Like

That sounds like a tricky issue. Since the original site is still tracking correctly, it feels like something specific to the multisite configuration or plugin settings is being missed. I’m interested to see if anyone has run into the same problem and found a reliable fix.