Rollbar

Integrating SessionStack with Rollbar

Add a SessionStack recording to every Rollbar report.

Add this code anywhere in your app, after the SessionStack and Rollbar scripts have been loaded.

sessionstack('getSessionId', function(sessionId) {
    if (sessionId) {
        Rollbar.configure({
          transform: function (obj) {
            obj.sessionstackURL = 'https://app.sessionstack.com/player/#/sessions/' + sessionId;
          },
        });
    }
});