Feature Flags
Ship features to a subset of users, run A/B tests, and gradually roll out changes — all without redeploying. Feature flags are evaluated server-side with zero latency overhead.
Flag
A named boolean or multivariate toggle. Flags have a key (e.g. new-checkout-flow) and one or more variants (on/off or custom string values).
Rule
A targeting rule determines which users see which variant. Rules are evaluated top-to-bottom; the first match wins.
Rollout
Serve a variant to a percentage of users. Deploxa uses consistent hashing so the same user always gets the same variant.
Override
Force a specific user or org to always see a specific variant — useful for internal testing or beta access.
Navigate to Project → Feature Flags → New Flag. Set a key, description, and default variant. The key is what you use in code to evaluate the flag.
new-checkout-flowUse the Deploxa REST API or a thin SDK wrapper to evaluate flags at runtime. Pass a user context object so targeting rules can be applied.
Node.js / TypeScript
Python
REST API (curl)
Rules are evaluated in order. The first rule that matches the user context wins and returns the configured variant. If no rule matches, the default variant is returned.
Example rules for "new-checkout-flow"
user.email ends with @acme.com→onInternal team always sees the new flow
user.plan = pro→onPro users in the beta
10% rollout→onGradual rollout to 10% of free users
Everyone else→offDefault — sees the old checkout
Multi-variant flags support A/B and multivariate tests. Assign percentages to each variant — they must sum to 100%. Deploxa uses consistent hashing on user ID so assignments are sticky.
Flag: checkout-button-color
bluegreenorangeTrack conversion metrics per variant using analytics events. See the Analytics API for event tracking.