Tracking page tabs as pageviews?


#1

What’s the best way to do this? I’ve got an about-us page url, and on it is a bunch of javascript-powered tabs. I want clicks on those tabs to show up in the Piwik->Actions->Pages report, as URLs. So if I go to about-us and click the who-we-are tab, I want to see about-us/who-we-are as an entry in the Pages report. Is this possible, and how?


(Matthieu Aubry) #2

I just updated the doc to try answer this question that is often asked and didn’t have a doc yet!
http://piwik.org/docs/javascript-tracking/#toc-manually-trigger-a-page-view-on-click-or-on-js-event

let me know if it helps or if it can be improved


#3

Thanks for a great response! That’s certainly answered it for me, cheers.