This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



A basic plugin to conveniently add the Piwik tracking code to your WordPress posts and pages.

Piwik is an open source online analytics tool much like Google Analytics, with the main difference
that you can host it on your own server and retain full control over your data.


  • Set the Piwik Base URL and the corresponding SiteID on the settings page
  • asynchronous javascript tracking (recommended to improve page loading time)
  • Enable or disable download & outlink tracking
  • tracking across subdomains
  • enable / disable client side DoNotTrack detection
  • Advanced settings: select user groups (identified by roles) to exclude from being tracked


This plugin requires a properly configured, up to date installation of the Piwik Analytics software
to work (tested with 1.6 and higher).
Please visit the Piwik website for detailed reference on Piwik.

Visit plugin page


  • Piwiktracking Main Setting
  • Piwiktracking Advanced Settings


  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Make sure to set the correct URL to your Piwik installation and the corresponding SiteID on the settings page.
  4. Done!

…or simply use the built in plugin browser to handle the uploading.

Contributors & Developers

“Piwiktracking” is open source software. The following people have contributed to this plugin.


Translate “Piwiktracking” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • remove tracking mode selection
  • use asynchronous javascript by default (utilising wp_footer hook)
  • add prepend site domain option
  • add subdomain tracking
  • add hide alias clicks option
  • add client side DoNotTrack option
  • resulting tracking code in line with Piwik v 1.12 settings


  • fixing a stupid bug related to standard javascript tracking mode


  • intitial release