INTEGRATIONS
Session Replay SDK

sessionVars()

4min

Method

JS
๏ปฟ

Attach custom key/value data to the session.

Parameters

Name

Description

vars

(Required) An object containing key/value pairs that provide additional context for the session.

The keys can be arbitrary but special support is provided for some keys.

Key

Description

email

E-mail address for the user.

user_name

A human readable name for the user.

tenant

A name/identifier for the tenant the user belongs to.

build_version

An identifier for the current build of your app.

Examples

JS
๏ปฟ

Multiple calls to relicxSDK.sessionVars() are resolved by using the latest value for each key.

Updated 04 Dec 2023
Doc contributor
Doc contributor
Did this page help you?