Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for history.pushState() (HTML5) #5159

Open
anonymous-matomo-user opened this issue May 13, 2014 · 1 comment
Open

Support for history.pushState() (HTML5) #5159

anonymous-matomo-user opened this issue May 13, 2014 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.

Comments

@anonymous-matomo-user
Copy link

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

@mattab
Copy link
Member

mattab commented May 14, 2014

Thanks for the suggestion!

@anonymous-matomo-user anonymous-matomo-user added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab removed the c: Core label Aug 3, 2014
@mattab mattab added this to the Mid term milestone Aug 3, 2014
@mattab mattab modified the milestones: Mid term, Long term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants