May 30, 2018
There are a few methods to check why your tracking is not working properly. Let’s take a closer look at them:
Inspect (developer tools)
Once you right click on your website and pick Inspect (or developer tools), you will be presented with a few developer tools to check what is going on your website:
We should look through all of the request’s parameters, check the instance name (it should be the same as the address of your instance). Action name, after “=”. provides you an information what kind of action was performed.
Id site will provide you a number (and with help of this number you can find out if you are tracking correct website). To compare it with the real site ID in Piwik PRO – go to Website and check it right under the name of the website.
Events log lets you get to know what is actually happening in each moment of working on the website (e.g. _stg_click for the click event). Every one of these events has its own variables and its values and we can check the value of a given variable in the moment of firing a given event.
Breakpoints let you test your tags without causing the page reload or page redirect. It’s very useful when you want to see what is going on when you click the button that normally redirects to a different page.
You can learn more about debugging tool here.