4min

identify()

Method

JS
|

Call relicxSDK.identify() anytime during the session to associate application-specific user ID as well as other details with the session recording.

Parameters

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()

Examples

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.



Updated 18 Apr 2022
Did this page help you?
Yes
No