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>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
try {
|
try {
|
||||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 4);
|
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", $this->piwikId);
|
||||||
piwikTracker.trackPageView();
|
piwikTracker.trackPageView();
|
||||||
piwikTracker.enableLinkTracking();
|
piwikTracker.enableLinkTracking();
|
||||||
} catch( err ) {}
|
} catch( err ) {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user