Get the User Ever ID

Prev Next

The Ever ID is the SDK's user identifier for Mapp Intelligence. You can read it at runtime if the SDK has already been initialized.

Note: Use this method when you need to inspect the current identifier, debug an implementation, or pass the current Ever ID to another part of your app. The iOS SDK does not currently expose a public method to set or replace the identifier from your app code; the everID is managed by the SDK and can be seeded at initialization via initWithConfiguration:onTrackdomain:andWithEverID:.

Method

Method

Description

getEverId() -> String

Returns the current Ever ID as a non-optional string.

Example

let everId = MappIntelligence.shared()?.getEverId()
NSString *everId = [[MappIntelligence shared] getEverId];

Things to keep in mind

  • Call this method only after the SDK has been initialized.

  • If you enable Anonymous Tracking, requests are sent without user recognition. Review the implications before using the Ever ID in privacy-sensitive flows.

  • To seed a specific everID at app start (for example to maintain continuity from a web session), pass it to initWithConfiguration:onTrackdomain:andWithEverID: during initialization.

Related pages: Anonymous Tracking, Initialize the SDK.