Magento: Adding piwik tracking

Using piwik to track Magento visitors is a easy thing to do.

In Magento Connect there is a plugin to install

See my earlier post if you don’t wish to turn your site to alpha on all packages.

For the settings, most are self explaining, the token can be found in piwik under API and is labeled API key, please read the warnings about using it and consider if you will need it.

Adding piwik to GetBoo

In order to add Piwik analytics tracking code to a GetBoo installation two files needs to be updated.

“footer.php” and “publicfooter.php”.

Just copy&paste the code from piwik to the end of these two files (just above the </body> tag)