The site id was hardcoded inside the plugin code. Instead the piwikid
is used now. Fixes http://status.net/trac/ticket/1864 Thanks zmf
This commit is contained in:
parent
2a06f2ac5b
commit
9e2705d9d3
|
@ -96,7 +96,7 @@ document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/ja
|
|||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 4);
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", $this->piwikId);
|
||||
piwikTracker.trackPageView();
|
||||
piwikTracker.enableLinkTracking();
|
||||
} catch( err ) {}
|
||||
|
@ -108,4 +108,4 @@ ENDOFPIWIK;
|
|||
$action->raw($piwikCode);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user