Skip to main content

browser-tracker.browsertracker.setuseridfromcookie

Home > @snowplow/browser-tracker > BrowserTracker > setUserIdFromCookie

BrowserTracker.setUserIdFromCookie property

Set the business-defined user ID for this user to the value of a cookie.

Signature:
setUserIdFromCookie: (cookieName: string) => void;