Use mutual exclusion
Describes using mutually exclusive groups to ensure that users do not see overlapping experiments that apply to different flags in Optimizely Feature Experimentation.
By default, your experiments in an Optimizely Feature Experimentation project may overlap with one another so that a single user could be exposed to multiple experiments at the same time. Mutually exclusive experiments help you ensure that a single user cannot be exposed to two different experiments running at the same time by ensuring that users are only exposed to one particular experiment.
For example, imagine that you are running two experiments that test the same algorithm. Users who see both experiments could cause interaction effects that taint your experiment results by behaving differently from users who see each experiment in isolation. To clearly understand the impact of each set of changes, make the two experiments mutually exclusive. See Mutually Exclusive experiments for information.
Exclusion groups
In Optimizely Feature Experimentation projects, you can make two or more experiments mutually exclusive of each other using exclusion groups. Using exclusion groups does not require any change in the SDKs. The Decide and Track Events methods automatically evaluate whether an experiment is in a group and assign users to the appropriate experiment and variation.
Create an exclusion group
To create an exclusion group:
-
On the Flags dashboard, select the Exclusion Groups tab.
-
Click Create New Exclusion Group.
-
Name your exclusion group.
-
(Optional) Add a Description.
-
Select an Environment.
-
(Optional) Select an experiment to add your exclusion group.
-
Click Create Exclusion Group.
Note
Optimizely Feature Experimentation recommends you start all the experiments in an exclusion group at the same time. We do not recommend adding or removing running experiments in an exclusion group because it may have unintended effects on your results. For more best practices, view the documentation on Best Practices - Mutually Exclusive Experiments
Add an experiment to an exclusion group
To add an experiment to an exclusion group before running your experiments:
- Click the flag that contains your experiment rule.
- Select your environment and experiment rule.
- In the Configure Rule section, select the exclusion group from the drop-down menu under Add this experiment to the following exclusion group.
- Add the percentage of the exclusion group traffic that should be allocated to the experiment.
- Click Save Experiment.
Remove an experiment from an exclusion group
Remove finished experiments from the exclusion group to make space for other experiments.
- Click the flag that contains your experiment.
- Select your environment and experiment.
- In the Configure Rule section, select None from the drop-down menu under Add this experiment to the following exclusion group.
- Click Save Experiment.
Archive and unarchive an exclusion group
Archive
To archive an exclusion group:
- On the Flags dashboard, select the Exclusion Groups tab.
- Click the Actions icon (...) of the exclusion group you want to archive.
- Select Archive.
Unarchive
To find archived exclusion groups and unarchive them:
- On the Flags dashboard, select the Exclusion Groups tab.
- Filter the Status drop-down list to show Archived exclusion groups.
- Click the Actions icon (...) of the exclusion group you want to unarchive.
- Select Unarchive.
Bucketing
The following table shows how exclusion groups can interact with other bucketing methods. For more detail, see How bucketing works.
Bucketing | Comment |
---|---|
Exclusion groups evaluate before this user bucketing method: |
|
Exclusion groups evaluate after these user bucketing methods: |
|
Important
If there is ever a conflict over how a user should be bucketed, then the first user-bucketing method to be evaluated overrides any conflicting method. For more information, view the End-to-end Bucketing Workflow on How bucketing works.
Updated 10 months ago