Create a Conditional Targeting Rule
To create a conditional targeting rule, follow these steps.Step 1: Add a description (optional)
Describe why you’re adding this rule. This helps others understand the purpose and intended effect.
Step 2: Define the targeting
- Serve: Select the variant to serve to matching users.
- To: Set the percentage of traffic that should receive the variant (0-100%).
- Of: Select the attribute to use for randomization.
- Matching: Define conditions based on context attributes, or select Any context to match all users.
Step 3: Choose environments
Select whether the rule applies to all environments or only specific environments. This step only appears if you have more than one environment.
Related Resources
Rules Reference
Deep dive into rule types and configuration
Create Individual Targeting Rules
Force specific variants for testing
Reorder Rules
Manage rule priority and order
Define Audience
Configure targeting criteria

