Piwik Analytics Plugin

Plugin Information

Plugin ID piwikanalytics
Latest Release 1.0
Latest Release Date Nov 06, 2009
Changes via Fisheye In Latest Release
Since Latest Release
Maintainer(s) n/a (id: looztra)
Issue Tracking Open Issues

This plugin decorates all web pages with the Piwik Analytics tracking script.

Use this plugin to add the Piwik Analytics tracking script to all web pages that are served by the Hudson installation.

Configuring

To configure this plugin you will need a Piwik Site Id, the piwik server hostname and the piwik path on this server.

In this sample of piwik tracker code:

var pkBaseURL = (("https:" == document.location.protocol) ?
"https://stats.domain.net/piwik/" : "http://stats.domain.net/piwik/");
...
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 6);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}...

the Site Id is 6, the piwik host is stats.domain.net and the piwik path is /piwik/

Labels:

plugin-page-decorator plugin-page-decorator Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.