To run A/B tests that compare your existing recommendations with supplied recommendations, you can request additional A/B test information that will be supplied in the info callback. You should always include this to ensure that you know which group a user is in when in A/B testing. There are two values available:
|[Showing full info](🔗)||Shows all information available.|
|[Showing summary info](🔗)||Shows only test name and A/B group.|
Consider the case where an A/B test is set up to compare Optimizely recommendations with your existing recommendations. In this case, set the `
abTestContent` attribute in the tracking request to full, and define implementations for the info and `
smartRecs` callback functions.
smartRecs` callback is called whenever a visitor is a member of the test group set up to show Optimizely product recommendations. If the visitor is a member of the test group that is set up to show your own product recommendations, the `
smartRecs` callback is not called.
Do not rely on the group property alone to decide when your own product recommendations should be shown. For example, you write your info callback to show your product recommendations whenever the visitor's group is set to **A**. When the current A/B test ends and another begins which compares two competing Optimizely configurations, your site displays both Optimizely and your own product recommendations to visitors in the **A** group.