Skip to main content

browser-tracker.browsertracker.setuserid

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

BrowserTracker.setUserId property

Set the business-defined user ID for this user.

Signature:
setUserId: (userId?: string | null) => void;