Skip to main content

User Identification

Identify users to track their activity and deliver personalized messages:
Read the current IDs (read-only):

Event Tracking

Track custom events:

Screen Tracking

Track screen views manually:
Enable automatic UIKit screen tracking in configuration:
For SwiftUI, call screen from .onAppear (see Platform-Specific Guides).

Profile Attributes

Update traits on the currently identified profile:

Device Attributes

Set custom device attributes (auto device attributes are enabled by default):

Alias

Associate the current user with a new ID:

User Logout and Reset

Flush Events

Force the SDK to send queued events immediately:

Get Device Token

Retrieve the registered push notification device token: