title: Google ios analytics not working for few screens
body: <p>I'd integrated Google analytics in my app. It is working fine for few screens but not for few other screens(ie, viewcontrollers).</p>
  
  <p><strong>Totally I have 45 screens, but the GAI works only for 19 screens.</strong> I'd followed the steps in <a href="https://developers.google.com/analytics/devguides/collection/ios/v3/" rel="nofollow">this documentation</a>.</p>
  
  <p>I'd changed as below in all viewcontrollers,</p>
  
  <pre><code>@interface Myviewcontroller : GAITrackedViewController
  </code></pre>
  
  <p>and imported <code>GAITrackedViewController</code> in both .h and .m files</p>
  
  <pre><code>#import "GAITrackedViewController.h"
  </code></pre>
  
  <p>It's working fine for some screens but not for some other screens. I'm sending the screen names by using <code>self.screenName = @"Home screen";</code>. </p>
  
  <p>NSLogger is as below for the viewcontrollers that successfully integrated,</p>
  
  <pre><code>VERBOSE: GoogleAnalytics 3.01 -[GAIBatchingDispatcher persist:] (GAIBatchingDispatcher.m:414): Saved hit: {
  parameters =     {
      "&amp;_u" = ".etno";
      "&amp;_v" = "mi3.0.1";
      "&amp;an" = My Project;
      "&amp;av" = "1.0";
      "&amp;cd" = "Home Screen";
      "&amp;cid" = "XXXXXXXXXXXXXXXXXXXXXXX";
      "&amp;sr" = 320x480;
      "&amp;t" = appview;
      "&amp;tid" = "UA-XXXXXXX-2";
      "&amp;ul" = en;
      "&amp;v" = 1;
      "&amp;z" = XXXXXXXXXXXXX;
      gaiVersion = "3.01";
      };
      timestamp = "2014-04-28 09:44:17 +0000";
  }
  </code></pre>
  
  <p>But there is no logging for unsuccessfull attempts, after sometime I can see some logging like,</p>
  
  <pre><code>INFO: GoogleAnalytics 3.01 -[GAIReachabilityChecker reachabilityFlagsChanged:] (GAIReachabilityChecker.m:159): Reachability flags update: 0X000007
  INFO: GoogleAnalytics 3.01 -[GAIReachabilityChecker reachabilityFlagsChanged:] (GAIReachabilityChecker.m:159): Reachability flags update: 0X000002
  INFO: GoogleAnalytics 3.01 -[GAIReachabilityChecker reachabilityFlagsChanged:] (GAIReachabilityChecker.m:159): Reachability flags update: 00000000
  </code></pre>
  
  <p>I'd checked with all the viewcontrollers, there is no difference in code while integrating Google-Analytics between those screens.</p>
  
  <p>What am I missing? Any Suggestions would be appreciated.</p>