Getting Started
This page helps you understand what's the SDK for and how to start generating bug reports with it.
Last updated
Was this helpful?
This page helps you understand what's the SDK for and how to start generating bug reports with it.
Last updated
Was this helpful?
The SDK for JavaScript is an easy way to start bug reporting from your app front-end.
To get started with the SDK, you must follow these steps:
for Bugpilot
to your web app
Recommended. Identify users
The SDK methods are available on the global Bugpilot object.
By default, the Bugpilot tracking code loads asynchronously, to minimize the impact on your pages performance. Before calling any SDK method, make sure the page has finished loading.
For traditional apps:
For Single-Page-Apps: Call the SDK methods after your app has initialized and authenticated the users. You may also want to use the Optional Chaining operator to avoid throwing errors in case you call SDK methods while Bugpilot is not yet available:
Here's what you can do with the SDK for JavaScript:
Our team is always happy to chat with you! Talk to us using the chat widget in the bottom-right corner of your Bugpilot dashboard.