Adding custom context
The @flareapp/js client automatically collects browser context (URL, user agent, cookies, referrer) and lets you add your own custom context groups to enrich error reports. The Vue integration adds component hierarchy, route context, and optionally component props automatically — other custom context is handled by the base client.
Head over to the JavaScript adding custom context documentation for full details on flare.addContext(), flare.addContextGroup(), and customizing reports via beforeSubmit.