Skip to main content
This article explains how mutually exclusive groups work for feature experiments, why they’re essential for reliable analysis, and how to set them up in Kameleoon.
To read about how to use mutually exclusive groups for web experimentation instead, refer to this help doc.
Running multiple feature experiments simultaneously can lead to overlapping effects, especially when different teams are testing changes that impact the same areas of your product.

Setting up mutually exclusive groups

  1. Define the experiment group: Determine which feature flags (and their experiments) should be mutually exclusive. For example, all experiments modifying the checkout flow could be grouped together.
  2. Tag the experiment: Use the naming convention “ME-GROUP-{GROUP NAME}” to tag each experiment in the group, such as ME-GROUP-A. This tells Kameleoon to enforce mutual exclusivity within the group.
  3. You can tag flags at creation, or by clicking an existing flag’s three-dots menu and selecting Manage tags.
Once done, each visitor will be exposed to only one experiment from each mutually exclusive group, ensuring accurate, non-overlapping results.

Example of a mutually exclusive group

Imagine you are testing different variations of your checkout experience:
  • Group A: Experiment 1 (new checkout flow) and Experiment 2 (one-click checkout)
  • Group B: Experiment 3 (up-sell recommendations) and Experiment 4 (discount banner placement)
With a mutually exclusive setup:
  • A visitor will see either Experiment 1 or Experiment 2 from Group A, but not both.
  • The same visitor may see either Experiment 3 or Experiment 4 from Group B, but not both.
This setup ensures that visitors do not experience multiple conflicting changes within each group, allowing for more precise measurement of each experiment’s impact. To maintain consistency, if a visitor was previously assigned to an experiment within a group, they will remain assigned to that experiment. If they are new to the group, assignment will be random, ensuring an even distribution. This setup does not require any additional targeting conditions, making it easier to implement for flags containing experiment rules and helping you maintain the integrity of your feature experiments, leading to cleaner data and more confident decision-making.

How exposure percentages interact with a MEG

Exposure percentages set on individual experiments are not applied independently to each experiment’s full traffic when those experiments belong to the same mutually exclusive group. The MEG first decides which single experiment a visitor is eligible for within the group, and the experiment’s own exposure percentage is then applied on top of that allocation. Each experiment in a MEG receives roughly an equal share of the eligible group population (for example, one third if the group contains three experiments), regardless of the individual exposure settings.

Example

Imagine three experiments in the same MEG, each running on a different page that receives 200,000 requests:
ExperimentPage trafficExposureExposed visitors
Experiment A200k10%200k × 1/3 × 10% ≈ 6.7k
Experiment B200k30%200k × 1/3 × 30% ≈ 20k
Experiment C200k60%200k × 1/3 × 60% ≈ 40k
The result is not 20k / 60k / 120k. That outcome would assume each experiment receives all of its page traffic before the exposure percentage is applied, which is not how a MEG works.
Because a MEG splits eligible traffic across the group before exposure is applied, MEGs are best suited for experiments that can overlap and need to be made mutually exclusive — typically experiments running on the same page or surface.