title: Phonegap GA plugin not working
body: <p>I am using phonegap 3.3 to build android app locally and trying to use the GA plugin</p>
  
  <p>I have installed the GAplugin using</p>
  
  <pre><code>phonegap local plugin add https://github.com/phonegap-build/GAPlugin.git
  </code></pre>
  
  <p>Added this code in my index.</p>
  
  <pre><code>var gaPlugin;
  
  document.addEventListener("deviceready", onDeviceReady, false);
  
  function onDeviceReady() {
      alert("calling ga");
      gaPlugin = window.plugins.gaPlugin;
      alert("calling init")
      gaPlugin.init(successHandler, errorHandler, "UA-48220634-1", 1);
      gaPlugin.trackPage( nativePluginResultHandler, nativePluginErrorHandler, "index.html");
      gaPlugin.trackEvent( nativePluginResultHandler, nativePluginErrorHandler, "Button", "Click", "event only", 1);
      gaPlugin.exit(nativePluginResultHandler, nativePluginErrorHandler);
  }
  
  function successHandler()
  {
      alert("init success");
  }
  
  function errorHandler()
  {
      alert("init failed");
  }
  
  function nativePluginResultHandler()
  {
      alert("tracking success");
  }
  
  function nativePluginErrorHandler()
  {
      alert("tracking failed");
  }
  </code></pre>
  
  <p>I get all successful messages but cant see anything in Google Analytics.</p>
  
  <p>I also tried manually including the GAPlugin.js but no change.</p>
  
  <p>I can see GAPlugin in list of plugins</p>
  
  <pre><code>Anujs-MacBook-Pro:my-app edunewz$ phonegap plugin list
  [phonegap] com.adobe.plugins.GAPlugin
  [phonegap] com.jamiestarke.webviewdebug
  [phonegap] org.apache.cordova.camera
  [phonegap] org.apache.cordova.file
  [phonegap] org.apache.cordova.file-transfer
  [phonegap] org.apache.cordova.inappbrowser
  </code></pre>
  
  <p>Can anybody help me out.</p>