I only have one Piwik Install under my primary domain.com/analytics/ so I guess all my subdomains off that primary domain are using that same Piwik url? I network activated the WP Piwik plugin.
If I use https://domain.com/analytics (REST API) and I enable the plugin, my primary domain works no problem. Only subdomains can’t load.
Here’s the test in the settings support tab..
Test was done with REST API (not BETA). SSL disable. PHP default user agent. Avoid mod security enabled.
*** Test 1/2: SitesManager.getSitesWithAtLeastViewAccess ***
Using: cURL
SSL peer verification: disabled
User Agent:
Call: https://xxx.com/analytics/?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML&token_auth= + TOKEN
Result:
HTTP/1.1 200 OK
Date: Wed, 13 Feb 2013 14:09:17 GMT
Server: Apache
X-Powered-By: PHP/5.3.15
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PIWIK_SESSID=06bb14225ef987ff049a96627425099e; path=/; HttpOnly
Transfer-Encoding: chunked
Content-Type: text/xml; charset=utf-8
all my network sites’ xml shown here
*** Test 2/2: SitesManager.getSitesIdFromSiteUrl ***
Using: cURL
SSL peer verification: disabled
User Agent:
Call: https://xxx.com/analytics/?module=API&method=SitesManager.getSitesIdFromSiteUrl&url=http%3A%2F%2Fxxx.com&format=XML&token_auth= + TOKEN
Result:
HTTP/1.1 200 OK
Date: Wed, 13 Feb 2013 14:09:18 GMT
Server: Apache
X-Powered-By: PHP/5.3.15
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PIWIK_SESSID=b3d55aa7a226071ac4d6e309f9eff23c; path=/; HttpOnly
Transfer-Encoding: chunked
Content-Type: text/xml; charset=utf-8
all my network sites’ xml shown here