Send your app event data from RudderStack to Bugsnag.
4 minute read
Bugsnag provides error reporting libraries for major software platforms which automatically detect and report errors in your applications, and capture diagnostic data required to help you reproduce and fix each error.
In the web device mode integration, that is, using JavaScript SDK as a source, RudderStack loads the Bugsnag native SDK from the https://d2wy8f7a9ursnm.cloudfront.net/ domain.
Based on your website’s content security policy, you might need to allowlist this domain to load the Bugsnag SDK successfully.
Get started
Once you have confirmed that the platform supports sending events to Bugsnag, follow these steps:
From your RudderStack dashboard, add a source. Then, from the list of destinations, select Bugsnag.
Assign a name to the destination and click Next.
Connection settings
To successfully set up Bugsnag as a destination, you will need to configure the following settings:
Bugsnag API Key: Enter your BugSnag API key. You can find the API key in your Bugsnag dashboard under Settings > Project Settings.
Use device-mode to send events: As this is a device mode-only destination, this setting is turned on by default and cannot be toggled off.
Release Stage: Use this setting to specify the release stage of your app:
Toggle it on for Development stage.
Keep it toggled off for Production stage.
SSL: This option is turned on by default and causes RudderStack to use SSL while sending data to Bugsnag.
Adding Bugsnag to mobile project
Once you add Bugsnag as a destination in the RudderStack dashboard, follow these steps to add it to your mobile project depending on your integration platform:
Follow these steps to add Bugsnag to your Android Project:
Add the following repository to your app/build.gradle file.
The identify method lets you identify a user and associate them to their actions. It also lets you record any traits about them like their name, email, etc.
Bugsnag will show the userId and traits in the Users tab of each error.
Error reporting
Along with user-specific information, you can also use Bugsnag to track handled exceptions data to your dashboard using Bugsnag’s native methods. See the Bugsnag documentation for more information on these functions.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.