• Triggers an impression

    The triggerImpression method triggers an impression for a given experience. The impression is sent for the active variant in the manifest. Call this method whenever an experience is shown to the user.

    Call this method after initializing the SDK.

    Parameters

    • experienceShortUid: string

      The experience short UID to trigger the impression for.

    Returns Promise<void>

    const experienceShortUid = 'a';
    await Personalize.triggerImpression(experienceShortUid);