Capture link clickthrough events from Javascript

Posted by Silver Dragon on Stack Overflow See other posts from Stack Overflow or by Silver Dragon
Published on 2009-03-17T23:58:00Z Indexed on 2010/04/23 3:03 UTC
Read the original article Hit count: 293

In order to track the overall user clickstream, I'd like to fire a javascript event, if the user right-clicks, and select "Open in new Tab" (or middle-clicks in most browsers) on a link. Most of these links are linking outside of my site, and I'd like to interfere with overall browser experience (such as: status bar, etc) as little as possible. What options are there to solve this?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events