Skip to main content

node-tracker.trackercore.setuserid

Home > @snowplow/node-tracker > TrackerCore > setUserId

TrackerCore.setUserId() method

Set the user ID

Signature:
setUserId(userId: string): void;

Parameters

ParameterTypeDescription
userIdstringThe custom user id
Returns:

void