Detect, diagnose and destroy React errors that are affecting your customers. With smart React error monitoring software from Raygun, you can be alerted to issues affecting your users, the second they happen.
Add this snippet to your markup, before the closing </head> tag:
To catch all exceptions, add the following lines of JS code just before the closing body tag in your site or app.
To set up the library to transmit data for the currently logged-in user, add the following lines of JS code inside the end of the script block from the previous step. (optional, but highly recommended):
Raygun will start monitoring your application for React errors that are present in your application. Errors are grouped by their root cause and smart notifications alert you to the things that need attention.
Raygun gives you full stacktraces for each and every error occurrence, along with environment information, HTTP requests, raw data, browser, OS, affected users and more. All the details you need to rectify issues quickly and efficiently. Raygun stores every single error event (no data sampling) so you’ll always have the right information at hand when needing to see when, why and how an error occurred.
- Rather than be bombarded with a flood of messages and error emails, Raygun silently monitors your applications in the background and offers smart alerts for you when need to take action. Notifications are fully customizable, but repeating error instance emails and team chat alerts are sent only when issues are recurring or getting worse, resulting in more signal, and less noise.
- Raygun allows you to set inbound filters to remove the reporting of errors you don’t care about or cannot fix, meaning you’ll be able to see the problems that are highest priority and affecting the largest amount of users. Choose what you want to monitor with custom setup for dealing with private user details and sensitive information, you can do it all.
Simply add a short code snippet and deploy your application into production, that’s all you need to start monitoring your application for React errors. Start fixing bugs within minutes!