Skip to content

User Identification Guide ​

Passing reliable user and session identifiers to the Tracker and Ads SDKs directly determines which advertising, attribution, and analytics capabilities are unlocked for your inventory.

Platform SDKs accept two classes of identity parameters:

  • uid (User ID): Identifies a known, logged-in, or deterministically recognized user.
  • sessionId (Session ID): Identifies an anonymous user or active browsing session before authentication occurs.

Statistical observations

Over 80% of mobile users only authenticate at checkout, making sessionId critical for pre-login modeling and attribution.

Implementation details

This guide covers the conceptual meaning and supported formats of user identifiers. For exact SDK's parameter implementation, refer to the Tracker SDK and Ads SDK integration documentation.

Supported Identifier Types ​

Depending on your platform and user authentication state, pass the highest-tier identifier available to uid or sessionId (ordered from highest to lowest priority below):

Authenticated (Deterministic) Types ​

Passed via uid once a user logs in or provides account credentials.

  • Hashed PII (HEM / HPN): Lowercased, trimmed SHA hash of the user's email address (HEM) or normalized phone number (HPN).
  • User unique ID: user identifier stored in app's remote database for authenticated users and persisted even if the user deleted the app from his machine.

Non-Authenticated types ​

Passed via sessionId (or uid for consented device IDs) prior to authentication.

  • MAID (GAID / IDFA): OS-level Mobile Advertising ID (Google Advertising ID on Android, Identifier for Advertisers on iOS). Persists across apps on a single device, requires explicit user consent (e.g., Apple ATT), and can be reset or disabled by the user.
  • 1st-Party Cookie: Persistent identifier stored in a first-party browser cookie across page loads and visits on a single web browser.
  • Per-Install UUID: Randomly generated UUID saved in persistent local app storage for anonymous users. Persists across sessions on a single app install until the user clears app storage or uninstalls the app.
  • Per-Session UUID: Ephemeral random UUID generated on app launch (or in browser sessionStorage) and destroyed at the end of a single session.

Advertising & Analytics Capabilities Matrix ​

Once an identifier is passed (via either uid or sessionId), the platform unlocks the following capabilities based on the highest-tier identifier available at that moment:

CapabilityHashed PII (HEM/HPN)MAID (GAID/IDFA)User Unique ID1st-Party CookiePer-Install UUIDPer-Session UUIDNone
User SegmentsYesYesYesYesYesPartialNo
RetargetingYesYesNo¹Partial²No¹NoNo
3rd-Party Data EnrichmentYesYesNo¹Partial²No¹NoNo
External DSP ProcurementYesYesNo¹Partial²No¹NoNo
CTR PredictionYesYesYesYesYesPartialPartial³
Reach CalculationYesYesYesYesYesPartialNo
Frequency CappingYesYesYesYesYesPartialNo
Post-Click / Post-View AttributionYesYesYesYesYesPartialNo

¹ First-party scope only: Internal IDs are not shared with external ad exchanges or data providers for privacy and security reasons.
² Browser-restricted: Dependent on browser third-party cookie support and DSP cookie-sync availability.
³ Contextual only: Relies strictly on page/app context without historical user signals.

Key Takeaways for Integration Planning ​

  • Cross-Channel Bidding & Retargeting: Only Hashed PII (HEM/HPN) and MAID provide full support for external DSP procurement, retargeting, and 3rd-party data enrichment.
  • Anonymous Pre-Login Traffic:
    • Mobile: Pass MAID (when consented) or a Per-Install UUID as sessionId to preserve cross-session attribution and frequency capping. Fall back to a Per-Session UUID only if local storage is unavailable.
    • Web: Pass a 1st-Party Cookie as sessionId so pre-login behavior still feeds segments, frequency capping, and conversion attribution.
  • Fallback Behavior: If both uid and sessionId are omitted (None), the platform can only perform baseline contextual CTR prediction and cannot track reach, cap frequency, or attribute conversions.