Manually tracking pageviews


(neuads) #1

Question. Is there a way that I can set the pageview URL manually inside of a link? I know there is a piwikTracker.trackPageView() function but it doesn’t look like this accepts any arguments. Can I do something like piwikTracker.trackPageView("/path/to/url")? I need to be able to track various page views for different pages without requiring a page refresh. Any help is appreciated. Thank you.


(vipsoft) #2

Reference: http://piwik.org/docs/javascript-tracking/

use: setCustomUrl() and/or setDocumentTitle()