Send user IDs
To send a user ID to Analytics SDK, call the setUser
function and passing the userId as parameter on each page of your website. Using the following code snippet
export declare function setUser(userId: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
userId | string | The unique id of the user in your system |
pjdwsdk.setUser(userId);