title: iPhone App Google Analytics
body: <p>I am having issues setting up Google Analytics for my iPhone Application. I have a website that I have sucesfully been using Google Analytics on, and so I am pretty familiar with how it works.</p>
  
  <p>I set up a new fake domain with the following formation: myapp.mysite.com. I got the UA ID that was made and used that as shown below.</p>
  
  <p>In my iPhone application's "didfinishlaunching" method, I have the following code:</p>
  
  <pre><code>[[GANTracker sharedTracker] startTrackerWithAccountID:@"UA-XXXXXXXX-X"
                                         dispatchPeriod:kGANDispatchPeriodSec
                                               delegate:nil];
  NSError *error;
  if (![[GANTracker sharedTracker] trackEvent:@"test" action:@"my_action" label:@"my_label" value:-1 withError:&amp;error]) {
          NSLog(@"error ocurred");
  }
  </code></pre>
  
  <p>where UA-XXXXXXXX-X is filled in with my ID.</p>
  
  <p>I install the application on my phone, run the app for over 20 minutes, and google analytics still states that "tracking is not installed."</p>
  
  <p>What is wrong here?</p>
  
  <p>Thanks!</p>