title: Google analytics doesn't track IE visitors?
body: <p>My google analytics code doesn't seem to be tracking Internet Explorer visitors. See data below.</p>
  
  <ol>
  <li>Chrome 1,000   57.01%  </li>
  <li>Firefox 638    36.37%</li>
  <li>Safari 50  2.85%</li>
  <li>Opera  42  2.39%</li>
  <li>IE 13  0.74%</li>
  </ol>
  
  <p>87% are Windows users, 10% Mac. These hits are during work hours. Out of the IE visitors the distribution is:</p>
  
  <p>-IE10 <code>1</code></p>
  
  <p>-IE9 <code>14</code></p>
  
  <p>-IE8 <code>5</code></p>
  
  <p>-IE7 <code>1</code></p>
  
  <p>(got a few more hits since the original post, still @ 1% though)</p>
  
  <p>With that number of visitors, it seems extremely unlikely that less than 1% are using IE.</p>
  
  <p>I'm using the unaltered JS code provided by Google.</p>
  
  <p>It's a Rails app running inside a Facebook page tab, and the users are probably a bit more tech savvy than average, but not overly so.</p>
  
  <p>What could the issue be? Is it indeed extremely unlikely that so few users could be on IE? I'd assume that for even for the most computer-savvy crowds (which this is not) there'd still be a much higher percentage of IE users, especially during work hours.</p>
  
  <h1>Edit</h1>
  
  <p>Found a clue. I have this code before the analytics code:</p>
  
  <pre><code>    /[if lt IE 9]
          = javascript_include_tag "//ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"
  </code></pre>
  
  <p>That triggers a JS error in IE (Uncaught TypeError: Cannot read property '1' of null), but the rest of the JS still loads and functions fine on IE8 and 9. I've tested both versions and have had others confirm (frequently produces the error, but the rest of the JS always works). Why would a JS error prevent the GA code from loading?</p>