Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View Piwik Analytics on the plugin site for more information.

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.


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 _paq = _paq || [];
  (function() {
    var u="//stats.mydomain.io/piwik/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', {6}]);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

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


1.2.0 (20 May 2016)

  • Use the piwik 2.x javascript tracker code
  • Add an option to force the usage of https (by default, the protocol used to call the piwik tracker is the same as the one of the page from which the call is made)
  • Use the asynchronous piwik code for everyone

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