Interface: UseReferralCaptureOptions
Extends
Pick<CaptureReferralCodeOptions,"paramName"|"maxAge">
Properties
maxAge?
optionalmaxAge?:number
Cookie lifetime in seconds. Default REFERRAL_COOKIE_MAX_AGE (30 days) — the "landing → signup" window, independent of the shop's referral validity setting (see the constant's docs).
Inherited from
CaptureReferralCodeOptions.maxAge
paramName?
optionalparamName?:string
Query parameter carrying the code. Default 'ref'.