LaunchDarkly

LaunchDarkly

Feature flagging and A/B testing platform used by engineering teams to manage rollouts and experiments. LaunchDarkly's SDK evaluates feature flags on the client side based on user targeting rules. Allows gradual rollouts, beta access, and kill switches without code deployments.

Overview

LaunchDarkly is a feature flagging and experimentation platform used by engineering teams to manage feature rollouts, A/B tests, and operational kill switches. Its client-side SDK evaluates feature flags based on targeting rules without requiring code deployments.

What This Script Does

LaunchDarkly's JavaScript SDK (ldclient-js) connects to LaunchDarkly's streaming infrastructure and performs the following:

  • Flag evaluation: On initialization, the SDK sends a user context object (containing attributes like user key, email, plan, or custom properties) to LaunchDarkly's servers. It receives back the evaluated flag values for that user.
  • Streaming updates: Maintains a persistent connection (via Server-Sent Events or polling) to receive real-time flag changes without page reloads.
  • Event tracking: Sends analytics events back to LaunchDarkly, including flag evaluation counts, custom conversion events (for experimentation), and optional click/pageview events for A/B test measurement.
  • Local storage: Caches flag values in localStorage to reduce latency on subsequent page loads and provide fallback values when offline.
  • User identification: The SDK requires a user key to evaluate targeting rules. This can be an anonymous auto-generated key (stored in a cookie or localStorage) or an identified user key provided by your application.

The SDK communicates with app.launchdarkly.com, events.launchdarkly.com, and clientstream.launchdarkly.com.

Consent & Compliance

Consent Category: Functional

LaunchDarkly's primary purpose is feature management, which is an operational concern rather than marketing or analytics. However, the consent classification depends on how it is configured:

  • Functional use (feature flags only): If the SDK is used purely for feature rollouts and operational toggles with anonymous user keys, it falls under functional/strictly necessary. The localStorage cache and anonymous key cookie support core application behavior.
  • Analytics/experimentation use: If LaunchDarkly is used for A/B testing with conversion tracking, click events, and pageview events, the experimentation data collection moves into analytics territory and may require consent.
  • GDPR consideration: If identified user attributes (email, name, plan) are sent as part of the user context, this constitutes personal data processing. LaunchDarkly acts as a data processor in this case.

Should You Block This Without Consent?

Conditional. If LaunchDarkly is used strictly for feature flags with anonymous user keys and no experimentation events, it can be classified as functional and does not require consent. If you are running A/B experiments with conversion tracking or passing identified user data, obtain analytics consent before initializing the SDK. Review your targeting rules and event configuration to determine which category applies to your implementation.

Is LaunchDarkly GDPR compliant?

LaunchDarkly typically loads functional trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So LaunchDarkly can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads LaunchDarkly, not on LaunchDarkly itself.

Visit website

Consent Categories

Also Known As

LaunchDarklyLaunchDarkly SDKfeature flagsfeature flaggingA/B testingLaunchDarkly JavaScript SDK

Industries

Computers Electronics and TechnologyProgramming and Developer Software

Tracked Domains (3)

app.launchdarkly.comFunctional

app.launchdarkly.com is a functional domain operated by LaunchDarkly, used to run site features like chat, video, embeds, and preferences.

clientsdk.launchdarkly.comFunctional

clientsdk.launchdarkly.com is a functional domain operated by LaunchDarkly, used to run site features like chat, video, embeds, and preferences.

events.launchdarkly.comFunctional

events.launchdarkly.com is a functional domain operated by LaunchDarkly, used to run site features like chat, video, embeds, and preferences.

Frequently Asked Questions

Related Vendors

AppsFlyer
AppsFlyer
Mobile attribution and marketing analytics platform. AppsFlyer scripts connect web touchpoints to app installs and in-app purchases, providing a full-funnel view of campaign performance across paid, organic, and owned channels.
Stripe Billing
Stripe Billing
Stripe Billing is Stripe's subscription and recurring revenue management module. Scripts embedded in checkout and account pages handle subscription lifecycle events, billing cycles, proration calculations, and payment retry logic. Stores session data and payment method tokens to support subscription management flows.
HubSpot Service Hub
HubSpot Service Hub
HubSpot Service Hub is HubSpot's customer service platform covering ticketing, knowledge base, and customer feedback tools. Tracking scripts associate support interactions and knowledge base page visits with HubSpot CRM contact records. Session cookies persist visitor identity across service touchpoints for context-aware support experiences.
Zendesk Chat
Zendesk Chat
Zendesk Chat is a live chat support widget embedded on websites. Scripts load a chat bubble connecting visitors with support agents in real time. The widget collects visitor data including page URL, referrer, session duration, and details submitted in pre-chat forms. Sets cookies to maintain chat session continuity across pages.
HubSpot Conversations
HubSpot Conversations
HubSpot Conversations is HubSpot's live chat and chatbot platform embedded on websites. The chat widget script loads asynchronously on page load, sets cookies to identify returning visitors, and captures conversation data linked to HubSpot CRM contact records for sales and support team follow-up and automated nurturing workflows.
Substack
Substack
Substack is a newsletter and publishing platform that provides embeddable subscription widgets for external websites. Scripts load subscribe forms allowing visitors to sign up for Substack publications directly from third-party sites. Email addresses and form submission events are transmitted to Substack's servers. May set cookies to track widget interactions.

Manage consent for LaunchDarkly

ConsentStack automatically detects and manages LaunchDarkly trackers so your site stays compliant with global privacy regulations.