ProcessReferralOptions
Ce contenu n’est pas encore disponible dans votre langue.
ProcessReferralOptions = {
alwaysAppendUrl?:boolean;merchantId?:string; }
Defined in: actions/referral/processReferral.ts:17
Options for the referral auto-interaction process.
Properties
Section titled “Properties”alwaysAppendUrl?
Section titled “alwaysAppendUrl?”
optionalalwaysAppendUrl?:boolean
Defined in: actions/referral/processReferral.ts:23
If true, always replace the URL with the current user’s referral context so the next visitor gets referred by this user.
Default Value
Section titled “Default Value”falsemerchantId?
Section titled “merchantId?”
optionalmerchantId?:string
Defined in: actions/referral/processReferral.ts:29
Merchant ID for building the current user’s referral context.
Required when alwaysAppendUrl is true and the incoming context is V1.
For V2 contexts, the merchantId is already embedded in the context.