@anonymous-piwik-user opened this Issue on June 30th 2011

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.

@anonymous-piwik-user commented on July 1st 2011

Attachment: Screenshot visitor log
screen02.jpg

@mattab commented on June 30th 2011 Owner

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

@robocoder commented on September 10th 2011 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".)

This Issue was closed on September 10th 2011
Powered by GitHub Issue Mirror