Segment States
Segments have three lifecycle states:
You must allocate a segment before using it in a flag rule.
Targeting Criteria
Expression Operators
Supported expression operators:Attribute Value Types
Available value types:Match Operators
- Equality (
eqRule): Match exact value - Set (
setRule): Match any value from a set - Range (
rangeRule): Match values within a range (supports inclusive/exclusive bounds and open-ended ranges)
Coordination
Common Coordination Patterns
-
Mutual exclusion: All experiments in a feature area exclude each other using the same tag
Use
exclusivityTags: ["homepage"]andexclusiveTo: ["homepage"] -
Hierarchical coordination: Specific experiments exclude from broader categories
- Specific:
exclusivityTags: ["ranking-v2"]andexclusiveTo: ["ranking-v2", "all-experiments"] - Broad:
exclusivityTags: ["all-experiments"]andexclusiveTo: ["all-experiments"]
- Specific:
-
Cross-feature coordination: Related features that shouldn’t run simultaneously
- Search:
exclusivityTags: ["search"]andexclusiveTo: ["search", "ui-changes"] - UI:
exclusivityTags: ["ui-changes"]andexclusiveTo: ["search", "ui-changes"]
- Search:
Best Practices
- Use descriptive tag names that clearly indicate the feature or experiment type
- Plan coordination strategy before creating segments
- Monitor allocation space within each coordination group
- Archive completed experiments to free up space
- Document which tags represent which feature areas

