Piwik Analytics Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID piwikanalytics Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.1.0
Mar 17, 2013
1.480.3
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Christophe Furmaniak (id: cfurmaniak)
Usage Installations 2013-Apr 75
2013-May 64
2013-Jun 67
2013-Jul 67
2013-Aug 73
2013-Sep 71
2013-Oct 66
2013-Nov 77
2013-Dec 68
2014-Jan 65
2014-Feb 68
2014-Mar 67

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 Jenkins 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/

Changelog

1.1.0 (17 Mar 2013)

  • Add the possibility to use the asynchronous piwik API call (available since Piwik 1.11)

1.0 (06 Nov 2013)

  • Initial release

Labels

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