WordPress Network Activation Tracking Code Error
-
Hi, I have WP-Piwik installed on a WordPress Network/Multisite setup, and it’s network activated. I see
WP-Piwik 1.0.14 is successfully connected to Piwik 3.0.2. You are running a WordPress 4.7.3 blog network (WPMU). WP-Piwik will handle your sites as different websites.
on the WP-Piwik network setting page, but I’m seeing<!-- {"result":"error","message":"You can't access this resource as it requires an 'view' access for the website id = 1."} -->returned as the tracking code when it’s set to “Default tracking”, and I’m not seeing the tracking code be included on the main site’s public pages (though it does seem to be included on the other two sites just fine).
Checking the Dashboard => WP-Piwik page shows all three sites on the WordPress Network without issue, and the latter two have the correct Site ID for Piwik. However, the first site shows a Site ID of 1 when it should be 8 (again, the other two sites correctly used Site IDs 9 & 10).
How can I correct the Piwik Site ID that was pulled for the WordPress Network’s main site?
Thanks for the great plugin and any help you can provide!
The topic ‘WordPress Network Activation Tracking Code Error’ is closed to new replies.