title: Why is Google Analytics not tracking any events?
body: <p>I've implemented pretty much the standard examples:</p>
  
  <pre><code>        &lt;script&gt;
  
              var _gaq = _gaq || [];
              _gaq.push(['_setAccount', 'UA-mycode']);
              _gaq.push(['_trackPageview']);
  
              (function() {
              var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
              ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
              var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
              })();
  
          &lt;/script&gt;
  
          &lt;script&gt;
  
              function recordOutboundLink(link, category, action) {
                  try {
                      var myTracker=_gat._getTrackerByName();
                      _gaq.push(['myTracker._trackEvent', category ,  action ]);
                      setTimeout('document.location = "' + link.href + '"', 100)
                  }catch(err){}
              }
  
          &lt;/script&gt;
  </code></pre>
  
  <p>and the links have this onclick event:</p>
  
  <pre><code>&lt;a id="latestDownload" href="https://example.com" onClick="recordOutboundLink(this, 'newDownloads', 'latest');return false;"&gt;Download latest version&lt;/a&gt;
  </code></pre>
  
  <p>No events have been tracked for the past 3 days, which just sound wrong to me. I've tested the page with the GA debug plugin for chrome, which shows events are send.</p>
  
  <p>Have I made some mistake here?</p>
  
  <p>The Google GA debug addon shows (literally, not obfuscated):</p>
  
  <pre><code>Account ID : UA-XXXXX-X
  
  &amp;utmac=UA-XXXXX-X
  </code></pre>
  
  <p>Do I need to push the '_setAccount' again?</p>