Braze JavaScript SDK
    Preparing search index...

    Function logInAppMessageImpression

    • Logs that the user saw the given in-app message. This is performed automatically when you use [[showInAppMessage]], and should only be called if you're bypassing that method and manually displaying the message in your own code.

      Parameters

      Returns Promise<boolean | undefined>

      Resolves to a boolean that indicates whether the event was successfully enqueued. Resolves to undefined if the SDK is not initialized.