Braze JavaScript SDK
    Preparing search index...

    Function setIdentifierToken

    • Sets the identifier token.

      An identifier token that is used to link an anonymous user to an existing Braze user profile. If the user is anonymous, calling this method with a new identifier token will start a new session upon calling openSession. If the user is not anonymous, this method is a no-op.

      Parameters

      • identifierToken: string

        The identifier token to link to the current user

      Returns Promise<void>