title: How to track Ajax requests using Google Analytics?
body: <p>I'm trying to use Google Analytics to track any Ajax request made by my web application (in my case built on ExtJS, but it doesn't matter right now).</p>
  
  <p>I wrote few lines of code to track all Ajax requests:</p>
  
  <pre><code>Ext.Ajax.on('requestcomplete', function(connection, options) {
      pageTracker._trackPageview('/'+options.url);
  });
  </code></pre>
  
  <p>but it doesn't work (it kind of works, but it doesn't track all the request). The numbers I'm getting are much lower than the number of my requests.</p>