MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
/* Piwik - Hosted at SIGIO */ | |||
/* First SHOULD BE https, but no S yes :) */ | |||
var pkBaseURL = (("https:" == document.location.protocol) ? "http://p.sigio.nl/" : "http://p.sigio.nl/"); | |||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); | |||
try { | |||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 2); | |||
piwikTracker.trackPageView(); | |||
piwikTracker.enableLinkTracking(); | |||
} catch( err ) {} | |||
/* End Piwik Tracking Code */ |
Revision as of 20:35, 24 December 2011
/* Any JavaScript here will be loaded for all users on every page load. */
/* Piwik - Hosted at SIGIO */
/* First SHOULD BE https, but no S yes :) */
var pkBaseURL = (("https:" == document.location.protocol) ? "http://p.sigio.nl/" : "http://p.sigio.nl/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 2);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
/* End Piwik Tracking Code */