node-tracker.trackercore.setuserid
Home > @snowplow/node-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