Przejdź do głównej zawartości

Function: getReferralCodeCookie()

getReferralCodeCookie(): string | null

Read the stored referral code (client-side, synchronous). Returns null when absent or outside a browser environment. Server Components use the async readReferralCodeCookie from @doswiftly/storefront-sdk/react/server.

Returns

string | null