title: Google Analytics Dispatch period with Android
body: <p>I'm using the latest version of Google Play Services in order to use Google Analytics with my Android app. I'm trying to set the dispatch interval to only 1 second so I can see it in the real-time analytics dashboard. However, it's taking at least 3 minutes before it shows up in real-time. How can I get it to show up right away or within a minute?</p>
  
  <p>Here's my code:</p>
  
  <pre><code>GoogleAnalytics analytics = GoogleAnalytics.getInstance(context);
  final Tracker t = analytics.newTracker("UA-XXXXX-X");
  analytics.setLocalDispatchPeriod(1);
  </code></pre>
  
  <p>I need to do it programmatically and not in an XML file.
  I should also mention that I'm tracking an event. It seems to be consistently showing up in real-time analytics 3 minutes later.</p>
  
  <p>Thanks for any help.</p>