identify()
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() |
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.
Once the identify() API is instrumented, Relicx allows you to search your sessions using these variables. On the session listing page, you can search using any on the above keys.