Loading...
Area: Episerver Perform, Episerver Reach
Applies to versions: 1.0 and higher (JavaScript API)

A/B test—Summary

To request only the name of the A/B test and the group of the page visitor, set the abTestContent attribute in the tracking request to summary.

<script> 
	PeeriusCallbacks.track={ 
		type:"home", 
		lang:"en-gb",
		channel: "web",
		abTestContent:'summary'
	}

This results in the info callback being called with the following JSON data passed in.

NameDescriptionUsage
abtest An array of A/B test product records.  
      <productname> The product name. Where <productname> is smartRecs.
      

name

A/B test name. [String]
    group The group assigned to the current visitor. [String]

For example:

{
	"abtest": [{
		"smartRecs": [{
			"name": "a/b test",
			"group": "A"
		}]
	}]
}

Last updated: Nov 06, 2017

Feedback?