Title: WordPress Network Activation Tracking Code Error
Last modified: March 29, 2017

---

# WordPress Network Activation Tracking Code Error

 *  Resolved [KZeni](https://wordpress.org/support/users/kzeni/)
 * (@kzeni)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/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!

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

 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wordpress-network-activation-tracking-code-error/#post-8971562)
 * 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](https://wordpress.org/support/users/kzeni/)
 * (@kzeni)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/wordpress-network-activation-tracking-code-error/#post-8971617)
 * 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.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [KZeni](https://wordpress.org/support/users/kzeni/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/wordpress-network-activation-tracking-code-error/#post-8971617)
 * Status: resolved