Split - RUM

Supported OS Linux Mac OS Windows

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Overview

Split is an Intelligent Feature Management platform that pairs the speed and reliability of feature flags with data to measure the impact of every feature. With Split, organizations have a secure way to release features, target them to customers, and measure the impact of features on their customer experience metrics.

With The Datadog Split RUM integration, product teams can view feature flag information overlaid on RUM data. This enables proactive monitoring of the real-time activity and experience of individual users and, if necessary, quick roll back or shut off of features that may be causing degradations.

Setup

Feature flag tracking is available in the RUM Browser SDK. For detailed setup instructions, see the Getting started with Feature Flag data in RUM guide.

  1. Update your Browser RUM SDK version to 4.25.0 or later.
  2. Initialize the RUM SDK and configure the enableExperimentalFeatures initialization parameter with ["feature_flags"].
  3. Initialize the Split SDK and create an impression listener to report feature flag evaluations to Datadog using the following snippet of code:
const factory = SplitFactory({
    core: {
      authorizationKey: "<APP_KEY>",
      key: "<USER_ID>",
    },
    impressionListener: {
      logImpression(impressionData) {              
          datadogRum
              .addFeatureFlagEvaluation(
                   impressionData.impression.feature,
                   impressionData.impression.treatment
              );
     },
  },
});

const client = factory.client();

Troubleshooting

Need help? See the JavaScript SDK page in the Split documentation or contact Datadog Support.

PREVIEWING: rtrieu/product-analytics-ui-changes