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

# Advanced Targeting

> Advanced Targeting allows you to show surveys to a specific segment of your users. You can target surveys based on user attributes, device type, and more. This helps you get more relevant insights while keeping survey fatigue at a minimum. After the initial setup, you can target any segment without touching code.

<Note>
  Advanced Targeting is part of the [Enterprise Edition](/self-hosting/advanced/license).
</Note>

### When to use Advanced Targeting?

Advanced Targeting helps you achieve a number of goals:

1. **Relevance**: Keep survey content relevant to respondents.

2. **Cohort-analysis**: Survey specific user cohorts only.

3. **Statistical Relevance:** When surveying a smaller subset of users, statistical relevance is reached with a lot less responses.

## How does Advanced Targeting work?

<Steps>
  <Step title="Create Segment">
    To get started, go to the Contacts tab and create a new Segment:

    <img src="https://mintcdn.com/formbricks/fuXjoDPfwirx9kHD/images/surveys/website-app-surveys/targeting/contacts.webp?fit=max&auto=format&n=fuXjoDPfwirx9kHD&q=85&s=48b0993868ae11ad515bb80ab8ea8271" alt="Create a new segment" width="2904" height="1188" data-path="images/surveys/website-app-surveys/targeting/contacts.webp" />
  </Step>

  <Step title="Configure Segment based on attributes">
    In the Segment editor, you can configure your Segment with a combination of Attributes, Segments and Devices. If a user matches either or all of the criteria, they become part of the Segment. See [Segment Configuration](/surveys/website-app-surveys/advanced-targeting#segment-configuration) below.
  </Step>

  <Step title="Create a survey of type Website & App">
    Create a new survey and go to Settings to change it to Website & App survey:

    <img src="https://mintcdn.com/formbricks/fuXjoDPfwirx9kHD/images/surveys/website-app-surveys/targeting/survey-type.webp?fit=max&auto=format&n=fuXjoDPfwirx9kHD&q=85&s=2af852a360aa3d1155b14b2805b83180" alt="Create a new segment of type in-app" width="1400" height="600" data-path="images/surveys/website-app-surveys/targeting/survey-type.webp" />
  </Step>

  <Step title="Choose Segment in Targeting options">
    <img src="https://mintcdn.com/formbricks/fuXjoDPfwirx9kHD/images/surveys/website-app-surveys/targeting/target-audience.webp?fit=max&auto=format&n=fuXjoDPfwirx9kHD&q=85&s=856cf3667806c3b906544cbdf42112ce" alt="Choose Segment in Targeting options" width="1398" height="850" data-path="images/surveys/website-app-surveys/targeting/target-audience.webp" />
  </Step>

  <Step title="Publish your survey" icon="party-horn" iconType="solid" />
</Steps>

### Segment Configuration

There are three means to move Contacts in or out of Segments: **Attributes**, other **Segments** and **Devices**:

1. **Attributes**: If the value of a specific attribute matches, the user becomes part of the Segment.

<img src="https://mintcdn.com/formbricks/fuXjoDPfwirx9kHD/images/surveys/website-app-surveys/targeting/attribute-filter.webp?fit=max&auto=format&n=fuXjoDPfwirx9kHD&q=85&s=9e2e37e61825759fb0f13f2ac82ecde4" alt="Attribute filter" width="1602" height="686" data-path="images/surveys/website-app-surveys/targeting/attribute-filter.webp" />

2. **Segments**: You can nest Segments meaning that if a user is or is not part of another Segment, they can be included or excluded

   <img src="https://mintcdn.com/formbricks/fuXjoDPfwirx9kHD/images/surveys/website-app-surveys/targeting/segments-filter.webp?fit=max&auto=format&n=fuXjoDPfwirx9kHD&q=85&s=6c47bb0b9ab44e693680ddcda26b97a2" alt="Segments filter" width="1282" height="142" data-path="images/surveys/website-app-surveys/targeting/segments-filter.webp" />

3. **Devices**: If a user uses a Phone or Desktop, you can include or exclude them

   <img src="https://mintcdn.com/formbricks/fuXjoDPfwirx9kHD/images/surveys/website-app-surveys/targeting/device-filter.webp?fit=max&auto=format&n=fuXjoDPfwirx9kHD&q=85&s=6e6fc7ddd0063897a4a6d214caad4f97" alt="Devices filter" width="1262" height="130" data-path="images/surveys/website-app-surveys/targeting/device-filter.webp" />

4. **Filter Groups:** You can group any of the above conditions in group and connect them logically with `AND` or `OR`. This allows for maximum granularity.
