• Product
  • Pricing
  • Docs
  • Using PostHog
  • Community
  • Company
  • Login
  • Overview
  • Top features
    • Product analytics

    • Funnels
    • Graphs & trends
    • Path analysis
    • Team collaboration
    • Insights

    • Session recording
    • Heatmaps
    • Experimentation

    • Feature flags
    • Experimentation
    • Correlation analysis
  • Apps
  • Event pipelines
  • Data warehouse
  • Self-hosting
  • API
  • Overview
  • Top features
    • Product analytics

    • Funnels
    • Graphs & trends
    • Path analysis
    • Team collaboration
    • Insights

    • Session recording
    • Heatmaps
    • Experimentation

    • Feature flags
    • Experimentation
    • Correlation analysis
  • Apps
  • Event pipelines
  • Data warehouse
  • Self-hosting
  • API

Feature flags

Experimentation

Feature flags

Test, rinse, repeat

Roll out features safely. Toggle features for cohorts or individuals to test the impact before rolling out to everyone.

Deliver features safely

Deploy updates behind a feature flag to test it with increasing numbers of users, then rollback easily if there’s an issue.

Multivariate testing

Breakdown our analytics by feature flag variant to understand the impact on performance.

Target on users’ properties, or their behavior

Test changes based on criteria like plan, geography or LTV, or users’ previous behavior.

How do PostHog Feature Flags compare?

Swipe right to compare.

LaunchDarklyOptimizelyFlagsmithGrowthBookPostHog
Platform 
Free plan
Open source
Self-hostable
Cloud hosting
Product analytics
Feature Flags 
Target by percentage
Target by user properties
Flag scheduling
Experimentation
Multivariate flags
Unlimited flags for free
3rd party plugins for free
Activity logs
Data export
Multi-environment support
  • Yakko Majuri
    Yakko Majuri
Sep '22
Analyzing user behavior with cohorts
  • Neil Kakkar
    Neil Kakkar
Sep '22
How to run Experiments without feature flags
  • Yakko Majuri
    Yakko Majuri
Sep '22
How to safely roll out new features
  • Yakko Majuri
    Yakko Majuri
Sep '22
How to track key B2B product metrics

Feature flags documentation

  • Learning resources
  • Tutorial
  • Creating Feature Flags
  • Persisting feature flags across authentication steps
  • Implementing the feature flag
  • Using locally
  • Roll out the feature flag
  • Roll out to a percentage of users
  • Filter by user properties
  • De-activating properties
  • Feature flag persistence
  • Multivariate feature flags (beta)
  • Creating a feature flag with multiple variants
  • Using multivariate feature flags in your code
  • getFlagVariants
  • onFeatureFlags
  • Querying data by multivariate feature flag values
  • Experimentation
  • Further reading

Where else can you get self-hostable product analytics, session recording, feature flags, A/B testing, heatmaps, a library of 50+ apps, event pipelines, a data warehouse, and an API... all in one place?

For all the tools you need with the modern data stack you want, just use

.

Try PostHog Cloud - freeBook a demo
  • About
  • Blog
  • Newsletter
  • Careers
  • Support
  • Contact sales

Product OS suite

Product overview

Analytics
  • Funnels
  • Trends
  • Paths

Pricing

Features
  • Session recording
  • Feature flags
  • Experimentation
  • Heatmaps

Customers

Platform
  • Correlation analysis
  • Collaboration
  • Apps

Community

Discussion
  • Questions?
  • Slack
  • Issues
  • Contact sales
Get involved
  • Roadmap
  • Contributors
  • Merch
  • PostHog FM
  • Marketplace

Docs

Getting started
  • PostHog Cloud
  • Self-hosted
  • Compare options
  • Tutorials
  • PostHog on GitHub
Install & integrate
  • Installation
  • Docs
  • API
  • Apps
User guides
  • Cohorts
  • Funnels
  • Sessions
  • Data
  • Events

Company

About
  • Our story
  • Team
  • Handbook
  • Investors
  • Careers
Resources
  • FAQ
  • Ask a question
  • Blog
  • Press
  • Merch
  • YouTube
© 2022 PostHog, Inc.
  • Code of conduct
  • Privacy
  • Terms