FullStory
Read time: 2 minutes
Last edited: May 01, 2024
The FullStory integration requires the LaunchDarkly JavaScript SDK version 2.24 or higher, or the React Web SDK version 2.27 or higher.
Overview
This topic explains how to set up and use the LaunchDarkly FullStory integration. The integration sends LaunchDarkly flag evaluations as FullStory page properties.
FullStory combines analytics with high-fidelity session replay and intelligent diagnostics so you can fix issues impacting your customers' experience, even if the issues are not reported by customers.
To learn more about the use case for this integration, read LaunchDarkly + FullStory: Targeted User Observability on the LaunchDarkly blog.
Set up the integration
The code below can be modified to fit your setup.
Here's how to get started:
- Install and configure the FullStory client
- Use the
setVars
API to send the evaluated flags to FullStory page properties
In the example below, evaluatedSessionFlags
is a two-level map. The first key is the url path. The second key is the flag key. The final values are based on the return value of the feature flag: