title: Bug in external link tracking when opening the link in a new window in Google Analytics?
body: <p>First off, I apologize if it's considered poor etiquette to cross-post on stackexchange sites, but this seemed appropriate for both the webmasters site and here, as it's a common issue for webmaster, but may be able to be solved by coders.  In any case, here goes...</p>
  
  <p>OK, so this seems like a really simple problem, but I have yet to find a solution that accomplishes the following:</p>
  
  <ul>
  <li>Opens the link in a new window</li>
  <li>Tracks the event in GA when using the asynchronous code</li>
  <li>Doesn't trigger pop-up blockers (uses target="_blank" instead of window.open)</li>
  </ul>
  
  <p>Most of the code I've seen, including Google's, doesn't take into account the case of opening in a new window - they just use window location.href.</p>
  
  <p>Even GAAddons (http://gaaddons.com/), which charges for commercial use, seems to not manage opening in new windows properly.</p>
  
  <p>Perhaps, I'm missing something simple - I'd be relieved if so and would thank profusely whoever points it out to me!</p>
  
  <p>If no one is able to provide an example, I'll post some of the test cases I've created to illustrate the problem.</p>
  
  <p>Thanks.</p>
  
  <p>[EDIT] I've since tested the GAAddons code more throughly and have found it to work.  I'm guessing the problem that was being reported earlier by a client using Chrome 7 on Windows was more likely a configuration issue than something related to the GAAddons library itself.</p>