User Feedback
When a user experiences an error, Sentry provides the ability to collect additional feedback. You can collect feedback according to the method supported by the SDK.
Use the .NET SDK
User Feedback for ASP.NET or ASP.NET Core supply integrations specific to supporting those SDKs.
You can create a form to collect the user input in your prefered framework, and use the SDK's API to send the information to Sentry. You can also use the widget, as described below. If you'd prefer an alternative to the widget or do not have a JavaScript frontend, you can use this API or a Web API.
Copied
using Sentry;
var eventId = SentrySdk.CaptureMessage("An event that will receive user feedback.");
SentrySdk.CaptureUserFeedback(eventId, "user@example.com", "It broke.", "The User");
- Package:
- upm:sentry-unity
- Version:
- 2.1.3
- Repository:
- https://github.com/getsentry/sentry-unity