Skip to main content
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 method 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:
  • Browser: Includes or excludes visitors based on their browser.
  • Device: Includes or excludes visitors based on their device type: phone, tablet, or desktop.
  • Conversion: Includes or excludes visits during which a visitor converts a specific goal.
  • 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 aren’t targeted by any ongoing rollout or feature/web experiment.
  • Targeted Feature Flag: Includes or excludes visitors that another feature flag has already targeted 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: the percentage of your chosen segment that Kameleoon exposes while the flag stays on.
See Kameleoon’s developer documentation to learn how to use targeting conditions in a Kameleoon SDK.Kameleoon also integrates with Mixpanel, Segment, or GA4, allowing you to use segments (or cohorts) that you’ve defined in those tools.