browser-tracker.browsertracker.getuserid
Home > @snowplow/browser-tracker > BrowserTracker > getUserId
BrowserTracker.getUserId property
Get the current user ID (as set previously with setUserId()).
Signature:getUserId: () => string | null | undefined;