Przejdź do głównej zawartości

Interface: UseReferralCaptureOptions

Extends​

Properties​

maxAge?​

optional maxAge?: 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?​

optional paramName?: string

Query parameter carrying the code. Default 'ref'.

Inherited from​

CaptureReferralCodeOptions.paramName