What are the parameters for trackPageView method


#1

I implemented the javascript piwikTracker.trackPageView(’/path/to/something’) and the data shows up in the reports in the page titles section. I can’t find in the documentation or forums what the parameters are for this method. I would like to have the data show up as a page view to a page located a ‘/path/to/something’ and not buried in the page titles section.


(Matthieu Aubry) #2

Use setCustomUrl() to fake the URL rather than the Page title


#3

I’m trying to track button clicks and do not want to change the URL of the page that I’m on. Won’t that change what piwik tracks for the entire page? I do not want to do that. Just log a click event.