diff --git a/docs/product/user-feedback/index.mdx b/docs/product/user-feedback/index.mdx index 634d4589645d6..85e6c7e6fd30c 100644 --- a/docs/product/user-feedback/index.mdx +++ b/docs/product/user-feedback/index.mdx @@ -28,7 +28,7 @@ Feedback collected via the Feedback Widget may have some or all of the following ## Crash-Report Modal -Another way to collect feedback is by installing the Crash-Report Modal. This allows users to submit feedback after they experience an error via an automatic modal that pops up after an error occurs. Learn more about how to install and customize it [here](https://docs.sentry.io/platforms/javascript/enriching-events/user-feedback/#embeddable-javascript-widget). +Another way to collect feedback is by installing the Crash-Report Modal. This allows users to submit feedback after they experience an error via an automatic modal that pops up after an error occurs. Learn more about how to install and customize it [here](https://docs.sentry.io/platforms/javascript/user-feedback/#crash-report-modal). ![Crash-Report Modal.](./img/crash-report-user-feedback.png) @@ -39,6 +39,10 @@ Feedback collected via the Crash-Report Modal will have the following informatio - URL of the page the user was on when they submitted the feedback - Tags +## User Feedback API + +We also provide an API to send user feedback programmatically. This allows you to connect your own user interface to Sentry. For more details, see the [set up guide](/product/user-feedback/setup/#supported-sdks-for-user-feedback-api). + ## Where to View User Feedback Whether you choose to collect user feedback via the Feedback Widget, the Crash-Report Modal, or both, you’ll be able to view it from the **User Feedback** page. The page is chronologically-organized with the most recent, unresolved feedback at the top. You can click on individual feedback to see more details all in one view, similar to your e-mail inbox. The right-hand side shows the **User Feedback Details** view, which includes the user’s description and any available debugging context. diff --git a/docs/product/user-feedback/setup.mdx b/docs/product/user-feedback/setup.mdx index 2457fc169f1de..afd19a6078b1e 100644 --- a/docs/product/user-feedback/setup.mdx +++ b/docs/product/user-feedback/setup.mdx @@ -4,7 +4,10 @@ sidebar_order: 12 description: "Get started with Sentry's User Feedback, which allows you to collect feedback from your users." --- -With User Feedback, you can collect feedback from your users via two methods: a Feedback Widget that can be displayed anywhere in your web application and/or a Crash-Report Modal that appears when your users are experiencing crashes. +With User Feedback, you can collect feedback from your users via three methods: +1. A Feedback Widget that can be displayed anywhere in your application (various SDKs and loader script) +2. A Crash-Report Modal that pops up automatically when your users experience a crash (HTML script) +3. An API that you can attach to your own interface (various SDKs and web API) To get instructions for how to set it up and start collecting feedback, click a link for one of the supported SDKs below. @@ -35,20 +38,26 @@ The Sentry SDK that injects the Feedback widget runs on the client's browser, an - [SvelteKit](/platforms/javascript/guides/sveltekit/user-feedback/) - [Vue](/platforms/javascript/guides/vue/user-feedback/) -## Supported SDKs for Crash-Report API - -For non-browser-based applications, we provide an API to send user feedback attached to errors programatically. -This allows you to connect your own user interface with Sentry's Crash-Reports. The following SDKs have support for the Crash-Report API: - -- [Android](/platforms/android/user-feedback/) -- [Apple](/platforms/apple/user-feedback/) -- [Dart](/platforms/dart/user-feedback/) -- [.NET](/platforms/dotnet/user-feedback/) -- [Flutter](/platforms/dart/guides/flutter/user-feedback/) -- [Java](/platforms/java/user-feedback/) -- [Kotlin](/platforms/kotlin/guides/kotlin-multiplatform/user-feedback/) -- [Node.JS](/platforms/javascript/guides/node/user-feedback/) -- [PHP](/platforms/php/user-feedback/) -- [React Native](/platforms/react-native/user-feedback/) -- [Unreal](/platforms/unreal/user-feedback/) -- [Unity](/platforms/unity/user-feedback/) +## Crash Report Modal + +The Crash Report Modal allows users to submit feedback after they experience an error, via an automatic modal that pops up after an error occurs. This is done by adding a script tag to your HTML template. + +[JavaScript](/platforms/javascript/user-feedback/#crash-report-modal) +[PHP](/platforms/php/user-feedback/#crash-report-modal) + +## Supported SDKs for User Feedback API + +We also provide an API to send user feedback programmatically. This allows you to connect your own user interface to Sentry. If your SDK is not supported, you may post data to the [Web API](https://docs.sentry.io/api/projects/submit-user-feedback/). + +The following SDKs are supported: +- [Android](/platforms/android/user-feedback/#user-feedback-api) +- [Apple](/platforms/apple/user-feedback/#user-feedback-api) +- [Dart](/platforms/dart/user-feedback/#user-feedback-api) +- [.NET](/platforms/dotnet/user-feedback/#use-the-net-sdk) +- [Flutter](/platforms/dart/guides/flutter/user-feedback/#user-feedback-api) +- [Java](/platforms/java/user-feedback/#user-feedback-api) +- [Kotlin](/platforms/kotlin/guides/kotlin-multiplatform/user-feedback/#user-feedback-api) +- [Node.JS](/platforms/javascript/guides/node/user-feedback/#user-feedback-api) +- [React Native](/platforms/react-native/user-feedback/#user-feedback-api) +- [Unity](/platforms/unity/user-feedback/#use-the-net-sdk) +- [Unreal](/platforms/unreal/user-feedback/#user-feedback-api)