title: Uncaught ReferenceError: _gaq is not defined (Google Analytics)
body: <p>The following message appears when viewing a site page in the chrome debug log.</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: _gaq is not defined</p>
  </blockquote>
  
  <p>The page itself is supposed to track an object using the <code>onload</code> event handler and fire a <code>_trackEvent</code> for Google Analytics.</p>
  
  <p>My best guess is that perhaps the <code>ga.js</code> file doesn't load in time and therefore the <code>onload</code> <code>_trackEvent</code> triggered is not caught. the async snippet is being used before the <code>&lt;/body&gt;</code> close and the object is positioned in the middle <code>&lt;body&gt;</code>. </p>
  
  <p>(some other posts have referenced jQuery position too but, this might be a red herring)</p>
  
  <p>any assistance greatly appreciated.</p>