Turn it on for Quality Assurance (but not Production or Development) to verify the feature works as expected
Each environment's deployment settings (on / off) are treated as a feature's default state. Users see a feature's default deployment unless it is over ridden by an experiment.
On / Off
ON_OFF experiments show a feature to a percentage of users
To know if the discount is worth deploying, you need know that it creates more revenue than it costs. In other words your Checkout event and it's property Checkout.Subtotal should both go up when users see the discount banner.
Create an On / Off experiment in the Context dashboard (no code changes needed)
Run it in Production
Examine the Results (Users checkout more often and spend more when they do.)
Turn the feature on by default (show to all users not in an experiment)
Turn off the experiment
BETWEEN_VALUES experiments show a feature to all users, but with different values
The business team wants to know if offering a bigger discount will increase revenue even more.
Refactor to move the banner's discount amount to Context
Add a default value to the feature in the Context Dashboard
Get the value from the feature gate
useFeature allows you to access the feature's state (boolean) and value (string) separately