Safely roll out features to specific users or groups
cut failure rates by 90%
"Feature flags are crucial for us. We use them as kill switches for all our features."
increased registrations by 30%
"Enables a ‘slow rollout’ strategy... while also analyzing feature adoption and performance in the same tool."
improved feature roll-out with flags
"The integrated insights and feature flags help us monitor how users with specific flags enabled are using features"
Customize your rollout strategy by user or group properties, cohort, or trafic percentage
Multivariate feature flags
Simultaneously test multiple versions against a control group
Test changes without touching your codebase
JSON payloads let you change text, visuals, or entire blocks of code without subsequent deployments
Automated usage reports, IP address resolution (for location-based targeting), and recall user properties to avoid passing them manually every time
Early access feature opt-in widget
Allow users to opt in to (or out of) specified features. Or use the API to build your own UI.
History & activity feedSee who hit a feature flag, the flag’s value, and which page they were on
Local evaluationImproves speed by caching a flag’s value on initial load
Instant rollbacksDisable a feature without touching your codebase
BootstrappingGet flags and values to trigger changes immediately on page load
Persist flags across authentication stepsMake sure users have a consistent experience after login
Flag administrationSee the history of a feature flag or control who can modify flags with user roles
SDKs or APICopy code snippets for your library of choice, or implement yourself with the API
Multi-environment supportTest flags in local development or staging by using the same flag key across PostHog projects
Answer all of these questions (and more) with PostHog Feature Flags.
Use feature flags free. Or enter a credit card for advanced features.
Either way, your first 1,000,000 requests are free – every month.
No credit card required
All features, no limitations
Boolean feature flags
Multivariate feature flags & experiments
Persist flags across authentication
Multiple release conditions
Release condition overrides
Flag targeting by groups
Local evaluation & bootstrapping
Flag usage stats
Funnel & trend experiments
Secondary experiment metrics
First 1 million requests
50 million +
So, what's best for you?
Reasons a competitor might be better for you (for now...)
- Flag scheduling
- Triggers and workflows to enable/disable flags on other events
- Enterprise-level support
Reasons to choose
- Integration with other analysis products
- View replays attached to a flag, analyze data based on a flag, etc.
- JSON payloads
- Flags can return JSON and trigger other in-app changes (like displaying a banner)
- Targeting options
- Early access management suite for toggling betas or new features
Visit the tutorials section for more.
How to do a canary release with feature flags in PostHog
A canary release or canary deployment is the process of rolling out a new feature to a subset of users before releasing it to a larger group. Once satisfied with tests and analysis, the feature rolls out to a larger group (or everyone).
How to evaluate and update feature flags with the PostHog API
Learn how to use the
decideendpoint to evaluate your feature flags (both boolean and multivariate), get data about them, and update them.
How to bootstrap feature flags in React and Express
Bootstrapping feature flags make them available as soon as React and PostHog load on the client side. This enables use cases like routing to different pages on load, all feature flagged content being available on first load, and visual consistency.
How to set up Angular feature flags
Learn you how to set up the tools PostHog provides by creating a basic Angular app, adding PostHog, and then using it to capture events and manage feature flags.
Install & customize
Here are some ways you can fine tune how you implement feature flags.
Explore the docs
Get a more technical overview of how everything works in our docs.
Meet the team
PostHog works in small teams. The Feature Success team is responsible for building feature flags.
Roadmap & changelog
Here’s what the team is up to.
Survey button customization extended
You can now tailor user surveys in more detail by customizing the button on a per-question basis, rather than across the entire survey.
This is especially helpful if there are contextual messages you want to build into a survey prompt, or if you're building long surveys with some nuanced questions.
We are building a Surveys product so that you can collect and analyse qualitative data alongside quantitive data.
Feature Success Analysis
Bringing together different parts of PostHog (flags, replay, surveys) to allow users to better analyse the success of a new feature.
Users & recordings linked to feature flags
We want to make it easier for those who use feature flags to get information on users attached to a particular feature flag, and gather more information on those users' experience through session recordings.
See more questions (or ask your own!) in our community forums.
- Question / TopicRepliesCreated
PostHog products are natively designed to be interoperable using Product OS.
This is the call to action.
If nothing else has sold you on PostHog, hopefully these classic marketing tactics will.