browser-tracker.trackercore.setuserid
Home > @snowplow/browser-tracker > TrackerCore > setUserId
TrackerCore.setUserId() method
Set the user ID
Signature:setUserId(userId: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
userId | string | The custom user id |
void