4min
identify()
JS
|
Call relicxSDK.identify() anytime during the session to associate application-specific user ID as well as other details with the session recording.
Name | Description |
uid | (Required) A string that uniquely identifies your application user. |
vars | (Optional) An object containing key/value pairs that provide additional context about the current user. These follow the same specification as sessionVars() |
JS
|
Multiple calls to the relicxSDK.identify() API are resolved by using the latest value for uid as well as each key in vars.
If you only want to pass vars, use the sessionVars() API.