• Resolved KZeni

    (@kzeni)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author braekling

    (@braekling)

    You can go to WP-Piwik settings -> Support and reset the current WP-Piwik settings. Afterwards, you can reconnect and check the site browser (also on WP-Piwik’s support page) if the site ID’s are assigned as expected.

    Thread Starter KZeni

    (@kzeni)

    That’s what I needed to do. Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress Network Activation Tracking Code Error’ is closed to new replies.