website logo
⌘K
Welcome to Relicx
Getting Started
Sign-up
Instrumenting Your App
Security and Privacy
Application & Environments
Adding Application
Adding a new Test Environment
SDK
getSessionUrlCallback()
identify()
Log()
sessionVars()
sessionLabels()
User Sessions
Session Replay and Detail
Developer Console
Autonomous Testing
How Does Relicx AutoTest Work?
Benefits of Relicx AutoTest
Running Autonomous Test
Interpreting the results
Adding Tests
User-Defined Tests
Generating Tests from User Sessions
Creating Tests with Chrome Extension
Interactive Test Authoring (Coming Soon)
Editing Tests
Running Tests
Test Run Page
Test Suite
CI/CD Integration
Notifications
Slack
Email
Video Resources
Changelog
Docs powered by archbee 
5min

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.

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.





Updated 06 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Log()
Docs powered by archbee 
TABLE OF CONTENTS
Method
Parameters
Examples