Android exposes custom attributes, reserved profile helpers, integration identifiers, and campaign attribution as separate concerns. Use the Install Referrer page for Google Play Install Referrer setup.

Attributes and reserved helpers

Use:
  • setAttributes(...)
  • setAttribute(...)
  • unsetAttribute(...)
  • setEmail(...)
  • setDisplayName(...)
  • setPhoneNumber(...)
  • setPushToken(...)
  • collectDeviceIdentifiers()
Custom keys should stay custom. Reserved profile context belongs on dedicated helpers instead of special-casing your own attribute names.

Integration identifiers

Use integration ID APIs for tool-specific identity:
  • setIntegrationIdentifier(...)
  • unsetIntegrationIdentifier(...)
  • setAppsFlyerID
  • setAdjustID
  • setBranchID
  • setFirebaseAppInstanceID
  • setOneSignalID

Campaign attribution

Use attribution APIs for acquisition payloads:
  • updateAttribution(...)
  • setMediaSource
  • setCampaign
  • setAdGroup
  • setAd
  • setKeyword
  • setCreative

Attribution System

See how custom attributes, integration IDs, campaign fields, ASA, and Install Referrer fit together.