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.
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:
- The feedback widget (
feedbackIntegration): a button and a form in your pages, with name, email, message and an optional screenshot. Sentry.captureFeedback: you build your own form and send its content, tied to an error you just captured.Sentry.showReportDialog: a dialog, served by Errilo, shown after an error, in English or French.
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:
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.
- A screenshot is a PNG, JPEG or WebP image, up to 2 MiB per submission.
- The widget sends the feedback, the page it was sent from and, if any, the screenshot. It doesn’t say which error the visitor is writing about, so a feedback sent from the widget shows up in the project’s feedback list, and is tied to an issue only when the SDK provides the error.
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:
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:
try {
await checkout();
} catch (error) {
const eventId = Sentry.captureException(error);
Sentry.showReportDialog({
eventId,
lang: "en",
title: "Something went wrong",
onClose: () => location.reload(),
});
}- The dialog is in English or French. The
langoption decides ("fr"and"fr-CA"both give French); without it, Errilo uses the browser’s language, then English. - The SDK’s labels (
title,subtitle,subtitle2,labelName,labelEmail,labelComments,labelClose,labelSubmit,errorGeneric,errorFormEntry,successMessage) replace Errilo’s text when you set them, up to 500 characters each. - The name and email set with
Sentry.setUserprefill the form. - If no error was captured, there is no event ID and the dialog doesn’t open. The feedback is tied to the issue of the error.
Where to read the feedback in Errilo
- The Feedback page of each project: the list on the left, most recent first, with the name (or “Anonymous”), a preview of the message and badges for a screenshot and a linked issue. Click one for the detail: date, name, email, full message, screenshot, linked issue and context. On a phone, the detail replaces the list.
- The “User feedback” block on an issue: the latest feedback tied to that issue, with a link to all of it.
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
- Quota: feedback doesn’t count in your monthly events, and is never refused because the quota is reached.
- Rate limit: 60 feedback items per minute and per DSN key. Beyond that, Errilo answers 429 until the next minute.
- Screenshots: each organization gets a monthly volume of screenshots, 100 MB on the Free plan, 2 GB on Starter and Team, 5 GB on Business, and up to 10 screenshots per minute and per DSN key. Beyond that, the feedback is still kept, without its screenshot: the message is never lost.
- Retention: the same as events. Feedback and its screenshot are deleted together.
- Deletion on request: deleting an end user’s data, by their contact email, also deletes their feedback and screenshots. Deleting a project deletes its feedback.
- Sensitive data: messages are cleaned like events (passwords, tokens and the like), except the name and the contact email, which are kept as the user typed them.
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.