Category: AB Testing
This integration is only available for Web projects
ⓘ This is an early access beta integration
What to expect
This integration will allow you to segment users based on their different experiences in order to analyze test comparisons.
What we collect
Dynamic Variables
Key | Value | Data Type |
AB_BR_{ExperimentName} | {Variant Name} | Text |
AB_BR_{ExperimentName}
Refers to the name of the served experiment. The variant name is stored in the variable's value.
Implementation
Implementation Steps
Step 1 - Enable the Data Layer
In Bloomreach, go to the Experiment you want to track then access the Settings section.
Add the following code into the Javascript code section before the return true;
window.bre = window.bre || {}; window.bre.segments = window.bre.segments || {}; window.bre.segments.ab_segments = window.bre.segments.ab_segments || {}; window.bre.segments.ab_segments[this.params.experiment_name] = this.params.variant_name;
It should look something like this.
Save that and make sure it is enabled for all audiences and conditions related to your experiment.
ⓘ Contentsquare has a dynamic variable limit per session for all integrations. We recommend limiting the defined tests above to only those required for analysis.
Step 2
Please go to the section How to request an integration to see the instructions to enable this integration. You can then return here once completed.
Verifying it works
You can use the chrome extension to check the results are sent to CS