You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.6 KiB

6 years ago
  1. /// @file FIRUserPropertyNames.h
  2. ///
  3. /// Predefined user property names.
  4. ///
  5. /// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can
  6. /// later analyze different behaviors of various segments of your userbase. You may supply up to 25
  7. /// unique UserProperties per app, and you can use the name and value of your choosing for each one.
  8. /// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and
  9. /// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to
  10. /// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not
  11. /// be used.
  12. #import <Foundation/Foundation.h>
  13. /// The method used to sign in. For example, "google", "facebook" or "twitter".
  14. static NSString *const kFIRUserPropertySignUpMethod
  15. NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method";
  16. /// Indicates whether events logged by Google Analytics can be used to personalize ads for the user.
  17. /// Set to "YES" to enable, or "NO" to disable. Default is enabled. See the
  18. /// <a href="https://firebase.google.com/support/guides/disable-analytics">documentation</a> for
  19. /// more details and information about related settings.
  20. ///
  21. /// <pre>
  22. /// [FIRAnalytics setUserPropertyString:@"NO"
  23. /// forName:kFIRUserPropertyAllowAdPersonalizationSignals];
  24. /// </pre>
  25. static NSString *const kFIRUserPropertyAllowAdPersonalizationSignals
  26. NS_SWIFT_NAME(AnalyticsUserPropertyAllowAdPersonalizationSignals) = @"allow_personalized_ads";