Plugin 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 Hudson installation. ConfiguringTo 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/ |