You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/platforms/flutter/user-feedback/index.mdx
+45-3
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,54 @@ When a user experiences an error, Sentry provides the ability to collect additio
8
8
9
9
## User Feedback API
10
10
11
-
The user feedback API allows you to collect user feedback while utilizing your own UI. You can use the same programming language you have in your app to send user feedback. In this case, the SDK creates the HTTP request so you don't have to deal with posting data via HTTP.
12
-
13
-
Sentry pairs the feedback with the original event, giving you additional insight into issues. Sentry needs the `eventId` to be able to associate the user feedback to the corresponding event. There are several ways to get the `eventId`:
11
+
The user feedback API allows you to collect user feedback while utilizing your own UI. Sentry pairs the feedback with the original event, giving you additional insight into issues. Sentry needs the `associatedEventId` to be able to associate the user feedback to the corresponding event. There are several ways to get the `associatedEventId`:
14
12
15
13
- use {<PlatformLinkto="/configuration/options/#before-send"><PlatformIdentifiername="before-send" /></PlatformLink>}
16
14
- use the return value of any method capturing an event.
17
15
- use `Sentry.lastEventId` to get the ID of the last event sent.
Use the `SentryFeedbackWidget` to let users send feedback data to Sentry.
22
+
23
+
The widget requests and collects the user's name, email address, and a description of what occurred. When an event identifier is provided, Sentry pairs the feedback with the original event, giving you additional insights into issues. Additionally, you can provide a screenshot that will be sent to Sentry. Learn more about how to enable screenshots in our <PlatformLinkto="/enriching-events/screenshots/">Screenshots documentation</PlatformLink>.
24
+
25
+
The image below provides an example of the widget, though yours may differ depending on your customization:
0 commit comments