This plugin hasn’t been updated in over 2 years. 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 Advanced Settings
  • Piwiktracking Main Setting



  • 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

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code