matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.87k stars 2.65k forks source link

Safari - link tracking doesn't work when target=_self; investigate a workaround #2930

Open robocoder opened 12 years ago

robocoder commented 12 years ago

Reference: https://bugs.webkit.org/show_bug.cgi?id=54783

This is now only a "Safari sucks" issue. #2929 actually fixes this issue on Chrome, so Chrome sucketh less.

robocoder commented 12 years ago

(In [5834]) refs #2930 - how long has this typo been here? not the fix though

robocoder commented 12 years ago

This trick works for Safari (!http://www.gwotricks.com/test/2009/07/tracking-outbound-links-right-way.html) but we can't use it because the assumption is that the default action is expected to be followed. Unfortunately, we don't know what other click handlers are doing.