> ## Documentation Index
> Fetch the complete documentation index at: https://help.experro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Condition Based Targeting

Condition based targeting restricts an experiment to visitors who match rules you define. Use it when a test only makes sense for part of your audience — a campaign landing page, a single market, or mobile shoppers.

Select **Condition Based Target** on the **Target Audience** step to reveal the **Select target type** dropdown.

## Target Types

| Type               | Filters on                                        |
| ------------------ | ------------------------------------------------- |
| **Segments**       | Existing audiences defined in your workspace      |
| **UTM Parameters** | Campaign tracking parameters on the visitor's URL |
| **Locations**      | Country, region or state, and city                |
| **Devices**        | Mobile, tablet, and desktop                       |

## Segments

Choose one or more audiences from the dropdown. Visitors qualify if they belong to **any** selected audience.

**Create Segment** opens the Audiences screen in a new browser tab so you can define a new one without losing your configuration.

## UTM Parameters

Build a set of conditions, each with three parts: a parameter (`Source`, `Medium`, `Campaign`, `Term`, `Content`, `ID`, `Source Platform`, or `Referral`), an operator, and a value.

Available operators are `Equals`, `Not Equal to`, `Contains`, `Does not contain`, `is blank`, `is not blank`, and `Matches regex`.

The **Match** dropdown decides how the conditions combine:

* **All** — the visitor must satisfy every condition.
* **ANY** — the visitor must satisfy at least one.

For example, with **ANY** and two conditions — source equals `newsletter`, campaign contains `spring` — a visitor arriving from the newsletter qualifies even if the campaign does not match.

## Locations

Set country, region or state, and city. Suggestions filter as you type, and all three fields accept multiple values.

Visitors qualify if their location matches **any** entry in **any** of the three fields.

<Frame>
  <img src="https://mintcdn.com/experro/vL9u48aLzyWUbwlI/images/experiments/targeting/imagesource_location.png?fit=max&auto=format&n=vL9u48aLzyWUbwlI&q=85&s=8e65d511d219f5b7767dea1233157419" alt="" width="1440" height="900" data-path="images/experiments/targeting/imagesource_location.png" />
</Frame>

## Devices

Select one or more of `mobile`, `tablet`, and `desktop`. Visitors qualify if their device matches any selected value.

## Key Considerations

* Targeting is applied before traffic allocation. Narrowing the audience reduces the traffic your experiment receives.
* A visitor whose context changes mid-journey may stop matching your conditions.

<Tip>
  Check that your conditions actually match meaningful traffic before launching. A test targeted at an audience of a few dozen visitors a week will not reach a reliable result.
</Tip>

## What's Next

* [Target Audience](/experiments/a_b_testing/target_audience)
* [Create a Personalization Experiment](/experiments/personalization/create_a_personalization_experiment)
