O'Reilly logo

Piwik Web Analytics Essentials by Stephan A. Miller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding Piwik e-commerce tracking to ZenCart

You may be able to find a plugin that adds Piwik's e-commerce tracking to the shopping cart software that you use. But often you will be faced with writing your own code for your e-commerce platform. If you know your shopping cart well enough to write custom code for it, it is really not that hard to integrate Piwik tracking and the payoff is worth the work.

We are going to write a plugin for ZenCart. When I was writing this book, I couldn't find a plugin for the ZenCart installation I was using to test Piwik, so I figured we could write one. ZenCart is an open source e-commerce shopping cart that branched from osCommerce in 2003. osCommerce is still the more popular of the two platforms, but I prefer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required