Available for the following Plan types:
Fullstory Enterprise
Fullstory Advanced
Fullstory Business
Fullstory for Mobile Apps
Fullstory Free
Available to the following User roles:
Admin
Architect
Standard
The Fullstory integration with Bugsnag lets you see the Fullstory session associated with the JavaScript exception. If you haven't already, sign up for Bugsnag.
Installation
After you setup your Bugsnag account, make sure the Bugsnag script is installed.
- Login to Fullstory
- Navigate to Settings > Integrations > Manage
- Click the Install button on the corresponding row for Bugsnag
Now, when you open a Javascript exception in Bugsnag, you'll see a Fullstory tab containing a clickable playback link to the session in which the Javascript exception occurred.
If you would like to be linked directly to the exact moment in the session that the Javascript exception occurred, you can modify your Bugsnag implementation code. Here's some sample code, that was passed along to us by Bugsnag support, to help you get started.
Bugsnag.start({
apiKey: 'YOUR_API_KEY',
onError: function (event) {
// Make sure FullStory object exists.
if (window.FS && window.FS.getCurrentSessionURL) {
event.addMetadata('fullstory', {
urlAtTime: window.FS.getCurrentSessionURL(true)
})
}
}
})
If you're using version 6 of the Bugsnag JS API, use the following code to create the Bugsnag client.
window.bugsnagClient = bugsnag({ apiKey: 'API KEY', beforeSend: function (report) { // Make sure FullStory object exists. if (window.FS && window.FS.getCurrentSessionURL) { report.updateMetaData('fullstory', {'urlAtTime': window.FS.getCurrentSessionURL(true)}); } } });