Skip to content

REFERRAL_SUCCESS_EVENT

const REFERRAL_SUCCESS_EVENT: "frak:referral-success" = "frak:referral-success"

Defined in: actions/referral/setupReferral.ts:11

Custom event name dispatched on successful referral processing.

Fired once per page load when a valid referral context is found in the URL and successfully tracked. Consumers (e.g. <frak-banner>) listen for this to display a referral success message.