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

IE6/7: changing the hash-part with js within an url is recorded as an exit page #2532

Closed
anonymous-matomo-user opened this issue Jun 30, 2011 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

Our picture gallery uses jQuery and the history-plugin to save the id of the currently shown picture in the hash-part.
Piwik with Firefox and IE>7 is not recording any change of the anchor name without reloading the whole page.

In IE6+7 Piwik shows is a strange behaviour: after clicking on a picture, jquery.history correctly changes the "anchor name" (picture-id), but Piwik records this process as a visit of an exit page (without reloading the whole page!).

Example

Gallery-URL:

http://www.domain.com/gallery

URL in browser after clicking on a picture:

http://www.domain.com/gallery#07fdca5b663a421456443bc6635267e9

Bug: Piwik records this click as an exit page with the following url...

http://www.domain.com/piwik/index.php?module=CoreHome&action=index&idSite=1&period=day&date=2011-06-30#07fdca5b663a421456443bc6635267e9

(Please notice the anchor name at the end)

I hope someone can reproduce this bug with other javascript-applications.

@mattab
Copy link
Member

mattab commented Jun 30, 2011

can you please post screenshot of your Piwik reporting that shows the bad URL?

@anonymous-matomo-user
Copy link
Author

Attachment: Screenshot visitor log
screen02.jpg

@robocoder
Copy link
Contributor

In piwik.js, the click handler gets the URL from the <a> anchor element that was clicked (and reported in the click event). If the jquery.history plugin reported the URL to your Piwik dashboard, then I have to chalk it up as a jquery.history bug.

(Note: there are multiple implementations of plugins that call themselves, "jquery.history".)

@anonymous-matomo-user anonymous-matomo-user added this to the 1.6 Piwik 1.6 milestone Jul 8, 2014
@mattab mattab added the wontfix label Aug 3, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants