title: Google Analytics SDK 3.0 for iOS: Anonymize IPs
body: <p>Since the iOS SDK 3.0 of Google Analytics has been released, plenty of changes have been made with the API. There is one big problem we encounter that has to do with the anonymize IP feature.</p>
  
  <p>In Germany one has to anonymize the IPs by law when using some tracking framework. With the previous version of the SDK (2.0) it worked like this:</p>
  
  <pre><code>tracker.anonymize = YES;
  </code></pre>
  
  <p>where <code>tracker</code> is an instance of <code>id&lt;GAITracker&gt;</code>.
  Now with the version 3.0 one has to use the set method of the tracker:</p>
  
  <pre><code>[tracker set:kGAIAnonymizeIp value:@"?????"];
  </code></pre>
  
  <p>The signature of the method is </p>
  
  <pre><code>- (void)set:(NSString *)parameterName
        value:(NSString *)value;
  </code></pre>
  
  <p>and that's the problem. What should the parameter value be? <code>@"YES"</code> or <code>@"NO"</code>? <code>@"ON"</code> or <code>@"OFF"</code>? <code>@"1"</code> or <code>@"0"</code>? Are these parameters case-sensitive?</p>
  
  <p>There is no information about the <code>value</code> in the documentary. Does anyone know what parameter is correct to anonymize the IPs?</p>