Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
This feature would be particularly interesting for Ajax-driven websites. It would certainly make sense to implement it since changing the URL in the address bar is something most people would perceive as being equivalent to a new page view. Apart from that you often can go to the same new page either via ordinary reload or by changing some parts with Ajax and applying pushState(), so that for consistency both ways should be evaluated with the same result.
This ticket is a follow-up on a forum post (http://forum.piwik.org/read.php?2,115288,page=1#msg-115303) according to which Piwik does not currently seem to be aware of changes that are written to the browser history by the history.pushState() method. See for some information for example: https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history#The_pushState%28%29.C2.A0method
This feature would be particularly interesting for Ajax-driven websites. It would certainly make sense to implement it since changing the URL in the address bar is something most people would perceive as being equivalent to a new page view. Apart from that you often can go to the same new page either via ordinary reload or by changing some parts with Ajax and applying pushState(), so that for consistency both ways should be evaluated with the same result.
Keywords: javascript,HTML5,history