I am using PIWIK to track events along side the site. I have some ajax actions that I am attempting to track by using the following method inside the js function:
This wirks great, but whatever the page the user is on when clicking this is the URL reported in PIWIK.
I want to set it to something similar to this:
http://domain.com/Event/Crime/{CRIME_ID}
But I cannot see how to do this. I am following the wiki here:
http://developer.piwik.org/api-reference/tracking-javascript
I just cant seem to find how there.
Quote
_paq.push(['trackPageView', 'Event/Crime/' + crimeid]);
This wirks great, but whatever the page the user is on when clicking this is the URL reported in PIWIK.
I want to set it to something similar to this:
http://domain.com/Event/Crime/{CRIME_ID}
But I cannot see how to do this. I am following the wiki here:
http://developer.piwik.org/api-reference/tracking-javascript
I just cant seem to find how there.