Managing targeting segments

Targeting your test

Types of targeting

With Kameleoon, you have several possibilities to target your A/B test:

  • A posteriori targeting: the targeting takes place after the test, in your web analytic solution (Google Analytics, KISSmetrics, AT Internet, etc.). This will not allow you to understand if the performance of a variation was improved on a specific segment (for instance, the smartphone users, or visitors arriving from AdWords clicks). Kameleoon does not take part in this segmentation, usually made by your web analytic solution.
  • A priori targeting: the A/B test will only run on a specific segment of your traffic, usually because the test only make sense for this segment. For instance, if you have an international website, you might find it interesting to run an A/B test for users in France. Similarly, you could test an offer with an A/B test only running on a specific segment (for example: a visitor coming for the first time on your website). This kind of targeting is managed by Kameleoon.

Launching an A/B test on a specific segment is very simple with Kameleoon.
For instance, if you want to make a commercial offer to a segment of your clients only (for example, visitors coming on your website for the first time, users accessing your webpage from your Twitter account, etc.) 

Editing targeting segments

To access the targeting options, launch Kameleoon on your website and select, in the step 2 of the test finalizer, to run the test on a “Specific advanced segment”.

A window pops up, allowing you to create new targeting segments.

You can easily combine several targeting options by adding or saving them.

Note : it is mandatory to define at least one targeting option, otherwise Kameleoon will take all visitors into account, even if they did not visit the pages to test. In this case, there is a risk of having a wrong analyze of your results.

Note that if you do not define a page during your targeting, the test will run on the whole website.

Targeting conditions

Basic targeting

  • Page URL:  indicates the URL or URL fragment you want to target (for example, /product-page/ or
  • Page title: checks the title of the page.

These 2 options let you target a specific page or specific pages. It can be useful if you want to change HTML elements shared by several pages. Targeting the URL or the title of the page allows Kameleoon to display the variation for users of these pages only.

With Kameleoon, you can target any kind of URLs thanks to regular expressions. For regular expressions examples, please read our article.

Note : for a URL targeting with "Contains" as an option, if your expression does not start with http or https, Kameleoon will only check the presence of the expression in the path (ie: everything after the domain name).

Technical targeting

  • Custom JavaScript condition: writes down a custom JavaScript function returning either true or false. If the result is true, the visitor will be included in the test. This function is evaluated each time a page is loaded.
  • Browser cookie: checks the presence of cookies and their values.
  • Presence of an element on the page
  • Custom event: the test will launch only when the events you defined are triggered. To trigger an event, you can use the following method: Kameleoon.API.triggerEvent(eventName).

Browser data targeting

  • Language: includes or excludes visitors according to the language of their browsers.
  • Browser: includes or excludes visitors according to their browsers, and eventually their versions.
  • Device type: includes or excludes visitors according to their devices (smartphone, tablet…).

Visitor data targeting

  • New or returning visitors: checks if the visitor is new or not.
  • Previsous page: checks the URL of the previous page.
  • Geolocation: checks the location of the visitor. Only available for Platinium clients once you have activated this functionality.

Use this option if, for example, you want to make a commercial offer only to visitors who went to your website more than 5 times during the day, or to new visitors. Kameleoon also allows you to target visitors with geolocation data: country, region or town.

Traffic acquisition targeting

  • Landing page: checks the URL of the landing page.
  • Origin type: checks the type of traffic.
  • Traffic origine: checks the URL of the original site.

Thanks to these options, you will be able to make commercial offers to users that looked for a specific keyword on a search engine such as Google, or to users that clicked on one of the emails sent by your marketing team, etc.

Note : you need to be careful with the "Visitor data" and "Traffic acquisition" targeting options. These options are mostly useful for personalization (for example: displaying a commercial offer only to non-buying regular visitors) and needs to be paired with, for instance, a URL targeting.

Other targeting options

  • Site out: the test will launch when the cursor goes out of the browser.
  • Exclusive test: allows you to target visitors not included in any other test.

Contextual data targeting (Premium)

  • Interests
  • Conversions
  • Opened tabs on site
  • Time since page load
  • Time elapsed since session became
  • Weather
  • Referrers

Time data targeting (Premium)

  • Day of the week
  • Date slot
  • Hour slot

Advanced visitor data targeting (Premium)

  • Number of overall visits: checks if the visitors have made at least X visits on the website.
  • Number of same day visits: checks if the visitor have made at least X visits on the website on this day.
  • Time since first visit: checks if the visitor have had his fist visit at least X days ago (including new visitors).
  • Time since last visit: checks if the visitor have made his last visit at least X days ago (including new visitors).
  • Number of page views: the test will launch as soon as the number of pages seen is higher than the number you specified.
  • Key pages
  • Average page view duration
  • Time since previous visit

API (Premium)

  • JavaScript Variable
Have more questions? Submit a request
Powered by Zendesk