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

A/B testing notes

Consider the case where an A/B test is set up to compare Episerver 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.

The smartRecs callback is called whenever a visitor is a member of the test group set up to show Episerver recommendations. If the visitor is a member of the test group that is set up to show your own recommendations, the smartRecs callback is not called.

The info callback is called regardless of the test group to which the visitor belongs. If the configs attribute contains a configuration for the test group reported in the group property, Episerver recommendations are shown to this visitor, and no further action needs to be taken. If the group property does not match one of the configurations, no Episerver recommendations are shown. Instead, you should execute JavaScript code to show your own recommendations.

Do not rely on the group property alone to decide when your own recommendations should be shown. For example, you write your info callback to show your recommendations whenever the visitor's group is set to A. When the current A/B test ends and another begins which compares two competing Episerver configurations, your site displays both Episerver and your own recommendations to visitors in the A group.

Last updated: Nov 06, 2017