The tracker debugger helps you check if your tracking works correctly. It shows sessions and events within each session from the last six hours. After you make changes to your tracking, you can quickly look into the tracker debugger to see if data is collected.
To use the tracker debugger, follow these steps:
- Go to Menu > Analytics.
- Navigate to Settings.
- On the left, click Tracker debugger.
- View recorded sessions.
Note: The tracker debugger shows sessions from the last six hours. All times are shown in site’s or app’s timezone.
Check your tracking
To check if your tracking works correctly, you can use the following method:
- Open the website that you track with Piwik PRO.
- Consent to all tracking purposes.
- Right click on any element on the website and click Inspect or Inspect Element, depending on the browser you’re using.
- Navigate to Console.
- In Console, use the following call. It will return the visitor ID that was set for you.
_paq.push([ function() {console.log(this.getVisitorId())}]);
- Copy the visitor ID.
- Log in to Piwik PRO.
- Go to Menu > Analytics.
- Navigate to Settings.
- On the left, click Tracker debugger.
- Paste the visitor ID to the session filter.
- If tracking works correctly, you’ll see your current session with the visitor ID and all performed events.
Tip: To see more methods for checking tracking, read this article.