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!).
URL in browser after clicking on a picture:
Bug: Piwik records this click as an exit page with the following url...
(Please notice the anchor name at the end)
can you please post screenshot of your Piwik reporting that shows the bad URL?
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".)