You can start recording a session using the start function.

SessionStack.start();

This function receives a configuration object as a second optional argument.

SessionStack.start({
    sensitiveInputFields: true
});

The configuration object has the following properties:

Property Name

Type

Description

sensitiveInputFields

Boolean

Automatically make all input fields sensitive

The function can also receive a callback function as an optional argument:

SessionStack.start(function(sessionId) {
    // sessionId -> the ID of the current session.
});

or in combination with the configuration object:

SessionStack.start({
    sensitiveInputFields: true
}, function(sessionId) {
    // sessionId -> the ID of the current session.
});