A/B tests data

The Kameleoon.API object contains a certain amount of useful data about running A/B tests. These data could be used to manage, for instance, other A/B tests. 

Kameleoon.API.experiments

The Kameleoon.API.experiments object contains all data on running A/B tests. It is an Array object for which tableau.Kameleoon.API.experiments[0] will return for instance the data about the first test on the table. 

The most important data are:

  • id : experience ID
  • name : experience name
  • targeting : Indicate if you are targeted or not.
    Take the true or false value.
  • targetingSegment : Contains all the set up and targeting of the test. For instance, if a URL targeting and an “Origin of traffic” targeting Objet de type tableau contenant toute la configuration du ciblage du test. The main data indicated are:
    • type : contains the type of targeting used (PAGE_URL, etc.);
    • subconditions : contains the targeting setup details.
    • value : contains, for instance, the URL used for a URL targeting.
  • registeredVariation : “Variation” object containing the displayed variation displayed. The important data are: 
    • id : contains the variation ID.
    • name : contains the name of the variation. 
  • variations : table with all the test variations details. The data available per variation are:
    • id : contains the variation ID.
    • name : contains the name of the variation.
    • deviation : contains the percentage of traffic allocated for the variation. 

According to the tracking tool used to analyze the results of the test, Kameleoon will add an object containing all setup data needed:

  • googleAnalyticsTracking : object that contains Google analytics parameters: 
    • customVariable : number of the custom variable used. 
    • tracker : Google Analytics tracker used. By default, this parameter will not take any data and will have as value the Google Analytics tracker by default, "gag_". 
  • atInternetTracking : contains the AT Internet parameters. 
  • adobeOmnitureTracking : contains the Omniture SiteCatalyst parameters. 
    • eVar : eVar number used. 
    • object : Omniture tracker used. By default, this parameter does not take any data and has as value the "s" tracker.
  • kameleoonTracking : contains the setup parameters of Kameleoon reporting tool.
    • mainGoalId : main goal ID to measure for statistical significance.

Kameleoon.API.events

Table containing the list of JavaScript event triggered on the current page.

Kameleoon.API.firstVisit

This object contains the first visit or session of the user details. The data recorded are:

  • originalLandingPage : first page visited URL (landing page).
  • originalReferer : original URL of the user's visit on your website (original page).
  • startTime : date at the beginning of the visit (UTC timestamp).
  • endTime : date at the end of the visit (UTC timestamp).
  • pageviews : amount of pages seen during the visit. 

Kameleoon.API.currentVisit

This object contains the user's current visit on your website details. The data recorded are:

  • originalLandingPage : first page visited URL (landing page).
  • originalReferer : original URL of the user's visit on your website (original page).
  • startTime : date at the beginning of the visit (UTC timestamp).
  • endTime : date at the end of the visit (UTC timestamp).
  • pageviews : amount of pages seen during the visit. 

Kameleoon.API.previousVisit

This object contains the user's previous visit on your website details. The data recorded are:

  • originalLandingPage : first page visited URL (landing page).
  • originalReferer : original URL of the user's visit on your website (original page).
  • startTime : date at the beginning of the visit (UTC timestamp).
  • endTime : date at the end of the visit (UTC timestamp).
  • pageviews : amount of pages seen during the visit. 
Have more questions? Submit a request
Powered by Zendesk