Vanilla JavaScript
Use this if you initialize OwlTrace directly in app.js or index.js without framework-specific integrations.
OwlTrace JavaScript
OwlTrace supports common JavaScript setup paths. Pick the one that matches your app. If you ship bundled assets, also configure sourcemap uploads so stack traces stay readable.
Use this if you initialize OwlTrace directly in app.js or index.js without framework-specific integrations.
Use this path when your app needs OwlTrace React error boundary integration and React-specific error reporting guidance.
Open React guideUse this setup for Vue 2 or Vue 3 applications that need OwlTrace plugin-style integration.
Open Vue guideIf your app is bundled for production, upload sourcemaps so OwlTrace can map minified stack traces back to your source files.
Once initialized, OwlTrace automatically captures uncaught browser errors that bubble to the window object.
For caught exceptions in try/catch, report manually via owlTrace.report(error) so nothing gets missed.
Use client hooks such as beforeEvaluate and beforeSubmit to filter or enrich reports before they are sent.
OwlTrace collects request and runtime metadata to speed up debugging. You can enrich this with your own context.
Add application-specific values with methods like owlTrace.addContext and context groups for user and business data.
Use glows to annotate report timelines with high-signal events from your app for faster investigation.
Solution providers help attach likely fixes and runbook guidance to recurring issue patterns your team sees often.