Flagsmith

Flagsmith

Flagsmith is an open-source feature flag and remote configuration service. Scripts load feature flag states and remote config values for the current user session, enabling controlled feature rollouts, A/B testing, and dynamic application behavior changes without requiring code deployments.

Overview

Flagsmith offers both cloud-hosted and self-hosted feature flag management, making it suitable for teams requiring data sovereignty. The platform supports user segmentation, multivariate flags, and remote configuration changes that take effect without application redeployments. Its open-source nature allows full inspection of client-side SDK behavior and data transmission patterns.

What This Script Does

Flagsmith's JavaScript SDK loads from cdn.flagsmith.com or a self-hosted endpoint. On initialization, the SDK makes an API request to the Flagsmith server with an environment key and optional user identity to retrieve feature flag states and remote configuration values applicable to the current session.

The SDK stores flag state in localStorage under keys prefixed with BULLET_TRAIN_DB or flagsmith_db for caching between page loads. This reduces API calls and provides fallback values when the network is unavailable. No persistent cookies are set by default.

When user identity is provided (typically a hashed user ID or anonymous identifier), the SDK transmits this to Flagsmith's API alongside flag evaluation requests. This enables percentage-based rollouts and user-segment targeting. Analytics events—such as flag evaluation counts—may be sent to Flagsmith's servers if the analytics feature is enabled.

Network requests go to api.flagsmith.com (cloud) or the configured self-hosted endpoint. Requests include the environment key, user identity (if set), and trait data used for segmentation rules.

Consent & Compliance

Flagsmith operates as a functional tool under GDPR and ePrivacy classifications. Feature flags control application behavior and are integral to the user experience being delivered. The localStorage caching serves a technical purpose (performance optimization) rather than tracking.

Under the ePrivacy Directive, storage used for delivering a service explicitly requested by the user is exempt from consent requirements. Feature flag state caching meets this exemption criterion. However, if Flagsmith's analytics feature is enabled to track flag evaluation metrics, this analytics layer introduces a secondary purpose that may require separate assessment.

GDPR considerations center on the user identity data transmitted to Flagsmith's servers. If pseudonymous identifiers are used, the processing falls under legitimate interest for service delivery. Self-hosted deployments eliminate third-party data transfer concerns entirely.

Should You Block This Without Consent?

No.

Flagsmith's core feature flag functionality is integral to delivering the intended user experience. Blocking it would break feature gating, A/B test assignments, and dynamic configuration. The SDK uses localStorage for caching rather than tracking cookies, and standard deployments qualify for the ePrivacy strictly-necessary exemption.

Is Flagsmith GDPR compliant?

Flagsmith 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 Flagsmith 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 Flagsmith, not on Flagsmith itself.

Visit website

Consent Categories

Also Known As

flagsmithfeature flagsfeature togglesflagsmith open sourceremote configfeature flag serviceflagsmith SDK

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (1)

flagsmith.comFunctional

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

Frequently Asked Questions

Related Vendors

CloudBees Feature Management
CloudBees Feature Management
CloudBees Feature Management is an enterprise feature flag and experimentation platform. Scripts fetch feature flag assignments and A/B test configurations for active user sessions, enabling controlled rollouts and kill switches without application redeployments.
Kayako
Kayako
Kayako is a customer support and helpdesk platform. Scripts embed live chat interfaces, support request forms, and ticket portal widgets on websites, enabling visitors to initiate support conversations. Chat interactions and visitor data are transmitted to the Kayako support dashboard.
Beaver Builder
Beaver Builder
Beaver Builder is a WordPress page builder plugin. It loads frontend CSS and JavaScript files to render custom page layouts, interactive modules, and responsive design elements. These assets are typically served from the site's own domain and do not set tracking cookies or transmit data to external third-party servers.
HelpCrunch
HelpCrunch
HelpCrunch is a customer communication and support platform. Scripts embed live chat widgets, AI chatbots, and knowledge base popups on websites for real-time visitor messaging. Visitor activity including page views and chat interactions are logged in the HelpCrunch dashboard.
Brandfolder
Brandfolder
Brandfolder is a digital asset management platform. Its embed scripts deliver hosted brand assets such as images, videos, and documents to web pages. These scripts make network requests to Brandfolder's CDN servers and may set cookies to track asset views, download counts, and visitor engagement with embedded media content.
Informatica
Informatica
Informatica is an enterprise data integration and management platform. Scripts have minimal presence on public-facing websites and are primarily used within enterprise SaaS environments for data pipeline configuration, metadata management, and application integration workflows.

Manage consent for Flagsmith

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