title: jQuery code to track clicks on outgoing links (Google Analytics)
body: <p>I found this on the web:</p>
  
  <pre><code>$('a[href^=http]:not("[href*=://' + document.domain + ']")').click(function() {
   pageTracker._trackPageview('/outgoing/' + $(this).attr('href'));
  });
  </code></pre>
  
  <p>But it's not working. In my Google Analytics account there are no <code>/outgoing/</code> links showing (it's been 24+ hours since I implemented it).</p>
  
  <p>What's wrong with this code? I'm using jQuery of course ;)</p>
  
  <p>I already have:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  &lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  try {
    var pageTracker = _gat._getTracker("UA MY CODE");
    pageTracker._trackPageview();
  } catch(err) {}
  &lt;/script&gt;
  </code></pre>