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

# Target groups of users with rules

> Select or create segments to target specific user groups in your rollout rules using Kameleoon's available SDK targeting conditions.

You must select a segment or create a new one when creating a rule in the **Targeting** section.

Select one of the three targeting conditions available:

* **Target all visitors**: Includes your entire user base. Chosen by default.
* **Target a segment:** You can choose from a drop-down of existing segments or create a new segment in the segment builder by clicking **+**.
* **Target specific visitors:** This is a lite version of the segment builder, allowing you to create common targeting conditions using *Custom Data* or *Visitor Code* attributes to define an audience without creating and saving a new segment. Don't use this method if the target audience requires sophisticated targeting.

## SDK conditions available

If you want to create a new segment or add precise targeting conditions for choosing your audience, you can use Kameleoon’s pre-existing conditions available [depending on which SDK you’re using](../../../../../developer-docs/feature-experimentation/targeting-and-segmentation/native-segmentation):

* **Browser:** Includes or excludes visitors based on their browser.
* **Device:** Includes or excludes visitors based on their device (smartphone, tablet, etc.).
* **Conversion:** Includes or excludes visits during which a specific goal was converted.
* **Custom Data:** Includes or excludes visits based on a custom data's value.
* **Page URL:** Includes or excludes visitors based on the displayed page's URL.
* **Page Title:** Includes or excludes visitors based on the displayed page's title.
* **SDK Language:** Includes or excludes visitors based on their languages.
* **App Version**: Includes or excludes visitors based on their app's version.
* **Visitor Code:** Includes or excludes visitors based on their visitor code.
* **Browser Cookie:** Includes or excludes visitors based on the presence of a cookie in their browser, and possibly its value.
* **Operating System:** Includes or excludes visitors based on their operating system.
* **IP Geolocation:** Includes or excludes visitors based on their location.
* **Segment:** Includes or excludes visitors based on their Kameleoon segment.
* **Previous Page:** Includes or excludes visitors based on the previous page's URL.
* **Number of Page Views:** Includes or excludes visitors that have seen a specific number of pages.
* **Time since First Visit:** Includes or excludes visitors based on the time elapsed since their first visit.
* **Time since Last Visit:** Includes or excludes visitors based on the time elapsed since their last visit.
* **Number of Visits Today:** Includes or excludes visitors based on their number of visits today.
* **Total Number of Visits:** Includes or excludes visitors based on their total number of visits.
* **New or Returning Visitors:** Allows you to include only new visitors or only returning visitors on your website.
* **Exclusive Feature Flag:** Only includes users who are not targeted by any ongoing rollout or feature/web experiment.
* **Targeted Feature Flag:** Includes or excludes visitors who have already been targeted by another feature flag and exposed to a variation.
* **Likelihood to Convert**: Target visitors based on their Kameleoon Conversion Score (KCS). Requires the Contextual Bandit and AI Targeting add-on.

Next, choose the rule's exposure rate (what percentage of your chosen segment will be exposed while the flag is turned on).

<Note>
  See Kameleoon's [developer documentation](../../../../../developer-docs/feature-experimentation/targeting-and-segmentation/native-segmentation) to learn how to use targeting conditions in a Kameleoon SDK.

  Kameleoon also integrates with [Mixpanel](../../../../integrations/as-a-destination/analytics/mixpanel/setting-up-mixpanel), [Segment](../../../../integrations/as-a-destination/cdp/segment/setting-up-segment), or [GA4](../../../../integrations/as-a-destination/analytics/google-analytics-4/setting-up-google-analytics-4), allowing you to use segments (or cohorts) that you've defined in those tools.
</Note>
