User feedback guide

User feedback: hear from the people who hit the error

Your users often know something broke before your logs do. Errilo receives the feedback sent by the Sentry JavaScript SDK, with an optional screenshot, shows it next to the error it relates to, and can alert you when a new one arrives. No change to your code beyond what Sentry already asks for.

Updated

Errilo is in private beta. This guide describes the setup our compatibility suite tests today.

What you get

Three ways to collect feedback, all received by Errilo through your project’s DSN, with nothing else to set up:

Older SDKs and programs that send user_report items are received too. The Python SDK has no public API for this: if you send one from Python by building the envelope yourself, Errilo receives it like the others.

If you’re coming from Sentry, nothing changes in these calls: see the migration guide.

1. Turn on the widget

Add feedbackIntegration to Sentry.init(). It is part of @sentry/browser and of the Sentry SDKs for JavaScript frameworks, which expose the same integration:

src/instrument.ts
import * as Sentry from "@sentry/browser";

Sentry.init({
  dsn: "https://<key>@ingest.errilo.com/<project>",
  integrations: [
    Sentry.feedbackIntegration({
      colorScheme: "system",
      enableScreenshot: true,
    }),
  ],
});

By default, the widget injects its own button in the page. The visitor opens the form, fills in a name, an email and a message, and can attach a screenshot: the browser asks which tab, window or screen to share, and the visitor can highlight or hide parts of it before sending. The text of the button and of the form, the colors and which fields are shown are options of the SDK (triggerLabel, formTitle, colorScheme, showName, isEmailRequired and more): see the Sentry documentation for the full list.

2. Send feedback from your own form

To use your own interface, call Sentry.captureFeedback with the message, and the contact details if you have them. Pass the event ID returned by captureException as associatedEventId:

checkout.ts
try {
  await checkout();
} catch (error) {
  const eventId = Sentry.captureException(error);

  Sentry.captureFeedback({
    message: "The pay button does nothing",
    name: "Ada",
    email: "[email protected]",
    associatedEventId: eventId,
  });
}

Errilo attaches the feedback to the issue of that error, and the feedback appears on the issue page. Without associatedEventId, it still arrives in the project’s feedback list.

3. Show the report dialog after an error

Sentry.showReportDialog opens a form loaded from Errilo, with the DSN’s host. It needs the ID of the error to report on, so call it with the event ID that captureException returned:

checkout.ts
try {
  await checkout();
} catch (error) {
  const eventId = Sentry.captureException(error);

  Sentry.showReportDialog({
    eventId,
    lang: "en",
    title: "Something went wrong",
    onClose: () => location.reload(),
  });
}

Where to read the feedback in Errilo

Screenshots are only shown to signed-in members: they are read through your session, never through a public link.

Get alerted

In a project’s alert rules, pick the New user feedback trigger. It works with the email, Slack, Discord and webhook channels, not with GitHub, which creates GitHub issues from Errilo issues.

The alert carries the message, the page it was sent from, the title of the linked issue if there is one, and a link to the feedback in Errilo. It never carries the user’s name or email address: that personal data stays in Errilo.

Your agents see it too

When an issue has feedback, the get_issue tool of the Errilo MCP server returns the latest ones: message, page and date, a coding agent reading what the users wrote before it fixes the error. The text comes from end users, so it is marked as untrusted data like the rest. The name, the email and the screenshot are never sent to the agent.

Limits and personal data

A screenshot shows what is on the shared tab, so it can show personal data. Tell your users what the widget sends, and mention it in your privacy policy.

Frequently asked questions

Do I need to change my Sentry code to receive feedback in Errilo?

No. feedbackIntegration, captureFeedback and showReportDialog work with the DSN of an Errilo project, as they do with Sentry’s.

Why does a widget feedback have no issue?

The widget doesn’t send the ID of an error. It appears in the project’s feedback list, with the page it was sent from. To tie feedback to an error, use captureFeedback with associatedEventId, or showReportDialog.

Early access

The private beta is open, by invitation, to a handful of teams running a JavaScript, TypeScript, PHP or Python app in production. Join the waitlist and we’ll write to invite you.