Show summary info
Shows how to request summary information of an A/B test.
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'
}
</script>
This results in the info
callback being called with the following JSON data passed in.
Name | Description and usage | |||
---|---|---|---|---|
abtest | An array of A/B test product records. | |||
<productname> | The product name where <productname> is smartRecs. | |||
name |
[String] A/B test name. |
|||
group | [String] The group assigned to the current visitor. |
For example:
{
"abtest" : [
{
"smartRecs" : [
{
"name" : "a/b test",
"group" : "A"
}
]
}
]
}
Updated about 1 year ago