Hacker News new | ask | show | jobs
by grey-area 4843 days ago
It's easy to do this with a jquery post - just bind to the click event, and post the tracking data to whatever URL you want as a separate async action, without getting in the way of the user.

You should never put js in the href like this, or insert extra referral links prior to going to the real link as google have been doing recently; it breaks the web.