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. If you need to set or replace the identifier, use setEverId(...) instead.

Method

Method

Description

getEverId(): String?

Returns the current Ever ID as a nullable string.

val everId = Webtrekk.getInstance().getEverId()
String everId = Webtrekk.getInstance().getEverId();

Things to keep in mind

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

  • The method returns a nullable value, so handle the case where no Ever ID is available yet.

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

Related pages: Anonymous Tracking, Retrieve Active Global Configuration.