Collecting user feedback

Overview

This topic explains how to configure your application to send qualitative user feedback to LaunchDarkly. Each piece of user feedback is associated with a specific flag variation, creating a direct connection between user sentiment and feature performance. This lets you quickly identify which features resonate with users, understand pain points in real-time, and adjust flag configurations based on actual user feedback, rather than assumptions.

The user feedback tab for a flag.

The user feedback tab for a flag.

Prerequisites

Collecting qualitative user feedback is available in the JavaScript SDK.

Setting up user feedback requires two steps:

  • Configuring the JavaScript SDK
  • Creating a feedback widget

To learn how to configure these, read User feedback.

View user feedback

After your users begin providing qualitative feedback, you can view their feedback on a flag’s User feedback tab.

The AI summary provides an overview of which variation got more positive feedback and summaries of users’ written feedback.

The sentiment distribution section displays the total number of reviews for each variation, and how many of the reviews were positive, neutral, or negative.

The feedback list

The feedback list allows you to view a comprehensive details about all user feedback you have received for the flag, including the user email address, their written feedback, the sentiment of their written feedback, which variation they received, and the date they provided the feedback. You can narrow the list by sentiment kind, variant, or date range.

If you use LaunchDarkly observability features, you can use session replay to view what the user was doing in your app when they left their feedback. Click Replay to view what the user was doing in your application before they submitted the feedback.