---
title: Statsig - RUM
description: Enrich your Datadog RUM data with feature gate information from Statsig
breadcrumbs: Docs > Integrations > Statsig - RUM
---

# Statsig - RUM
Supported OS Integration version1.0.0  Datadog dashboard showing inspection of user session and their enabled feature gatesDatadog dashboard showing overview of all gates and the user volumes assigned to each
## Overview{% #overview %}

Statsig's feature flag tracking integration enriches your Datadog RUM data with feature gate information, allowing you to measure causality between your product features and your system and performance metrics.

## Setup{% #setup %}

### Feature flag tracking setup{% #feature-flag-tracking-setup %}

Feature flag tracking is available in the RUM Browser SDK. For detailed set up instructions, visit [Getting started with feature flag data in RUM](https://docs.datadoghq.com/real_user_monitoring/guide/setup-feature-flag-data-collection).

1. Update your Browser RUM SDK version to 4.25.0 or above.
1. Initialize the RUM SDK and configure the `enableExperimentalFeatures` initialization parameter with `["feature_flags"]`.
1. Initialize Statsig's SDK (`>= v4.34.0`) and implement the `gateEvaluationCallback` option as shown below:

```js
await statsig.initialize('client-<STATSIG CLIENT KEY>',
  {userID: '<USER ID>'},
  {     
    gateEvaluationCallback: (key, value) => {
      datadogRum.addFeatureFlagEvaluation(key, value);
    }
  }
); 
```

## Support{% #support %}

Join the [Statsig Slack community](https://join.slack.com/t/statsigcommunity/shared_invite/zt-pbp005hg-VFQOutZhMw5Vu9eWvCro9g) for support on enabling this integration.
