One of our projects Hypeguide.com we use commission junction for our affiliate tracking. We also wanted to be able to track these in google analytics. The issue was that CJ dynamically appends data to the outbound url once you click it. In order for GA to be able to intercept that and fire an event we had to implement the code below.  Not the best but it does the job.