Book Image

Piwik Web Analytics Essentials

By : Stephan A. Miller
Book Image

Piwik Web Analytics Essentials

By: Stephan A. Miller

Overview of this book

<p>Without web analytics, you are blind on the internet. In order to improve conversions and revenue on your web- site, you need to know what is going on. Piwik gives you this data and unlike Google Analytics, gives you total control over its usage. Unlike Google analytics where the data can be read by Google, Piwik maintains complete confidentiality of your website data. By harnessing the power of your tracked data, you can raise the conversion rates on your website to new heights.<br /><br />"Piwik Web Analytics Essentials" will show you how to install Piwik Open Source Analytics and have you tracking your website’s visitors within an hour after you pick up the book! After that, you will learn how to track custom events and programmatically trigger tracking events. The book continues with ecommerce tracking and advanced Piwik API usage.<br /><br />This book will take you from installing Piwik on your web server to writing custom tracking code for your apps.<br /><br />You will learn goal and event tracking techniques and how to add them to your standard tracking to fine tune your analytics results. Nothing is untrackable using Piwik: ecommerce shopping carts, web apps, phone apps, and more can make use of Piwik tracking capabilities.<br /><br />"Piwik Web Analytics Essentials" will walk you through every step with detailed screenshots and plenty of example code.</p>
Table of Contents (18 chapters)
Piwik Web Analytics Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Chapter 10. Piwik Integration

In the last chapter we learned how to send data to Piwik and that we can use any programming language we choose to do so. But the real magic comes in when we use Piwik's API to get the data back to use, analyze, and format however we want. We can do the same data manipulation inside Piwik by writing a plugin, another topic we covered, but you may have reasons you want to do this from the outside. You may want to simply display a widget from Piwik somewhere on your website to give your visitors an idea of your traffic. You may need to merge Piwik data with the inventory data for your e-commerce site to calculate when to order new products. Or you may want to do some heavy processing of the data available without bogging down the performance of your Piwik installation.

In this chapter, we will show you how to get the data back from Piwik so you can integrate it with other applications. The topics we will be covering are:

  • Using plugins to integrate Piwik data

  • Using...