Hanzo Insights
Products

Feature Flags

Ship features safely with instant rollbacks.

Feature Flags

Feature flags let you control which users see which features, enabling gradual rollouts, A/B tests, and instant rollbacks.

Creating a Flag

  1. Go to Insights → Feature Flags → New Flag
  2. Enter a key (e.g. new-checkout-flow)
  3. Set rollout conditions (percentage, user properties, groups)
  4. Save and deploy

Using in Code

if (Insights.isFeatureEnabled('new-checkout-flow')) {
  // Show new checkout
}

Targeting Rules

  • Percentage rollout — Roll out to X% of users
  • User properties — Target by email, plan, country, etc.
  • Groups — Target entire organizations or teams
  • Boolean / multivariate — String/JSON payloads per variant

On this page