You can define treatments, set up individually target users for certain treatments, and manage your targeting rules.
To define your treatments, do the following:
- From the left navigation, click Splits. The feature flag list view appears. You can either:
- Click the Create split button to create a new feature flag.
- Select an already created flag.
- On the Definitions tab, click the Add rules button. The following appears:
- Fill in the following fields:
-
- In the Define treatments area, select the treatment that is assigned if the feature flag is killed and to customers excluded from an experiment as set in the Traffic allocation section.
- In the Dynamic configuration area, optionally define custom JSON or Kay-Value pairs to dynamically configure components of your feature.
- In the Individual targets area, click Add target to assign the desired individual users or segments to place specific customers (e.g., your QA team, internal team, or a limited beta) into a given treatment.
- In the Traffic allocation area, select a specific percentage of customers to include in the experiment if you want to limit the number of customers exposed to your experiment. Those not exposed get the default treatment.
- In the Targeting rules area, click Add rule to target specific subsets of your customers based on a specific attribute (e.g., location or last login date). These subsets are placed in specific treatments or, based on the percentages you select, we take these subsets and randomly distribute customers within each subset between your treatments.
In addition, click Serve default rule for customers who aren’t assigned a treatment in the sections above. The Serve default rule either places customers into a treatment or randomly distributes them between your treatments or variations based on percentages you decide. - In the Set alert baseline treatment area, select a baseline treatment that is used for your alert policies.
Rules evaluation order
The rules are evaluated in the following order:
- The first evaluation is against the individual target section. Customers and segments listed in this section receive the specified treatment.
- The second evaluation is against the traffic allocation. If traffic allocation is set to 100%, we continue to the targeting rules section. If traffic allocation is <100%, we allocate a percentage of your traffic to the default treatment selected in the UI or into the targeting rules and default rule.
- The third evaluation is against the targeting rules. The conditions are structured as layered if/else statements and are meant to be readable in nature. They are evaluated in order and when a condition is met, the evaluation stops.
- The fourth evaluation is against the default rule. The remaining traffic is allocated based on the distribution set in the default rule.
Comments
0 comments
Please sign in to leave a comment.