Now that you are dealing with custom APIs and more programming languages, the complexity of your application can grow and bugs pop up here and there in any software. Just in case your software is not perfect, you may want to know how to debug it.
If you run into more trouble then this short section can handle it. You will find that Piwik.org is a wealth of information on managing your Piwik installation and writing custom applications using Piwik, especially its FAQ section and its forum where there are plenty of other Piwik users willing to help.
All tracking calls to Piwik go through one file, Piwik.php
in your Piwik installation directory. To turn on debugging, we will be setting the PIWIK_TRACKER_DEBUG
global to true
. By default, it is set to false
, so you want to open the file up and edit it so it looks like the following:
<?php /** * Piwik - Open source web analytics * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.htmlGPLv3...