Bugsnag
Integrating SessionStack with BugSnag
Add a SessionStack recording to every BugSnag report.
Add this code anywhere in your app, after the SessionStack and BugSnag scripts have been loaded.
bugsnag({
beforeSend: function (report) {
SessionStack.getSessionId(function(sessionId) {
if (sessionId) {
report.updateMetaData('SessionStack', {
sessionURL: 'https://app.sessionstack.com/player/#/sessions/' + sessionId,
});
}
});
}
});
Updated over 5 years ago