@anonymous-piwik-user opened this issue on April 15th 2009

Piwik click tracking should use the click event instead of the mousedown event because:

1.) mousedown is not the same as a click and it should be tracking clicks.

2.) The current way of doing things prevents the right-click menu from appearing until the tracking code has run, which can take a long time for downloads or external links.

@robocoder commented on April 15th 2009

Yes, this is inconsistent from the GA, MS, and Y! tracking code.

While this is already moot in the new piwik.js under development -- the delay is deferred to the unload -- I will change this to be consistent with other trackers.

@robocoder commented on May 28th 2009

(In [1151]) fixes #5775 - OO version of piwik.js which no longer modifies DOM; remove misc/testJavascripTracker (interactive tests); add tests/javascript (QUnit unit tests); fixes #661 - use click event instead of mousedown; fixes #549 - define your own download/outlink tracking classes; fixes #5502 - add hook interface for module

@mattab commented on June 3rd 2014

See #5287 track file download and outlinks when user opens URL with Right click (opens new tab)

This issue was closed on June 3rd 2014
Powered by GitHub Issue Mirror