I have a group of outbound links that I need to track clicks. At the moment, the href points to a snippet of JavaScript that calls a php script that logs the click and redirects the user to the destination URL. I wrote this code many years ago and I'm wondering if there is a better way to do this – and if possible, be able to pass link juice to some of these outbound links – while still tracking clicks?. I've always assumed no link juice can pass through this type of link – please correct me if I'm wrong.