Retrieving the User Ever ID
    • 1 Minute to read
    • Dark
      Light

    Retrieving the User Ever ID

    • Dark
      Light

    Article summary

    When the SDK is initialized for the first time, it generates a unique identifier, known as the Ever ID, for each end user. This Ever ID is used to append to every tracking request to identify the user and ensure consistent tracking across different sessions.

    How to Retrieve the Ever ID

    You can retrieve the Ever ID using the following method, which returns the ID as a string. This ID can then be used for further processing or tracking purposes.

    Kotlin:

    // Retrieve the Ever ID in Kotlin
    val everId = Webtrekk.getInstance().everId

    Java:

    // Retrieve the Ever ID in Java
    String everId = Webtrekk.getInstance().getEverId();


    Was this article helpful?