Is Piwik aware of URLs changed by history.pushState()?


(Chris) #1

For a website with some Ajax I am using history.pushState() to update the address bar. Is Piwik able to track these changes as a new pageview, or do I need to trigger it manually?
Thanks!


(Matthieu Aubry) #2

Right now you have notify piwik manually when history changes.
However, that’s a great feature request! It sounds like Piwik should track it automatically.

maybe you could create a ticket in our issue tracker?


(Chris) #3

Thanks for your fast reply! I will try to submit the ticket.