HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Showing summary info

This topic 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.

                               type          : "home", 
                               lang          : "en-gb",
                               channel       : "web",
                               abTestContent : 'summary'

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.



A/B test name.
    group [String]

The group assigned to the current visitor.

For example:

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

What’s Next
Did this page help you?