Developers

SetSession

setSession

Usage

Use this method to set up a session token into the client to track events:

client.setSession(sessionToken: String);

sessionToken

sessionToken is the identifier for a session user.

Example

client.generateSession()
.then(function(response) {
  client.setSession(response.sessionToken);
});