For those of you who already use google analytics you will already be aware that to track downloads / external links / mailtos you have do some javascript onclick events. This can be a pain if you want to track all your external links / downloads if you have hundreds of them.
So here are 2 little scripts to automate the process one is standard javascript the other is jquery plugin. Please note the standard javascript one only works with new google tracking codes. The jquery one definately works with old and if you stick try catch around it will also work with new analytics code. I have gone for first option as we sometimes use other ajax libraries and end up getting jquery conflicts.