Multisite tracking script is not added
-
In my multisite the tracking code is not added to the source and so there is no stats available.
This is some of my testscript result:
WP-Piwik 1.0.2
Mode: httpTest 1/3: global.getPiwikVersion
string(6) “2.13.1”
array(2) {
[0]=>
string(360) “HTTP/1.1 200 OK
Date: Sat, 27 Jun 2015 12:11:53 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
X-Powered-By: PHP/5.4.35
Cache-Control: max-age=2592000
Expires: Mon, 27 Jul 2015 12:11:53 GMT
Vary: Accept-Encoding,User-Agent
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Length: 23
Content-Type: text/plain; charset=utf-8“
[1]=>
string(139) “http://stats.webnashr.com/?module=API&method=API.getBulkRequest&format=php&urls%5B0%5D=method%3DAPI.getPiwikVersion%26idSite%3D1&token_auth=…”
}Test 2/3: SitesManager.getSitesWithAtLeastViewAccess
array(708) {
[0]=>
array(16) {
[“idsite”]=>
string(1) “1”
[“name”]=>
string(8) “WebNashr”
[“main_url”]=>
string(19) “http://webnashr.com”
[“ts_created”]=>
string(19) “2014-10-20 19:37:35”
[“ecommerce”]=>
string(1) “0”
[“sitesearch”]=>
string(1) “1”
[“sitesearch_keyword_parameters”]=>
string(0) “”
[“sitesearch_category_parameters”]=>
string(0) “”
[“timezone”]=>
string(11) “Asia/Tehran”
[“currency”]=>
string(3) “USD”
[“excluded_ips”]=>
string(0) “”
[“excluded_parameters”]=>
string(0) “”
[“excluded_user_agents”]=>
string(0) “”
[“group”]=>
string(0) “”
[“type”]=>
string(7) “website”
[“keep_url_fragment”]=>
string(1) “0”
}
[1]=>
array(16) {
[“idsite”]=>
string(1) “2”
[“name”]=>
string(21) “اخبار دکتری”
[“main_url”]=>
string(17) “http://phdiran.ir”
[“ts_created”]=>
string(19) “2014-10-20 19:53:31”
[“ecommerce”]=>
string(1) “0”
[“sitesearch”]=>
string(1) “1”
[“sitesearch_keyword_parameters”]=>
string(0) “”
[“sitesearch_category_parameters”]=>
string(0) “”
[“timezone”]=>
string(11) “Asia/Tehran”
[“currency”]=>
string(3) “USD”
[“excluded_ips”]=>
string(0) “”
[“excluded_parameters”]=>
string(0) “”
[“excluded_user_agents”]=>
string(0) “”
[“group”]=>
string(0) “”
[“type”]=>
string(7) “website”
[“keep_url_fragment”]=>
string(1) “0”
}`
The topic ‘Multisite tracking script is not added’ is closed to new replies.