Visual Website Optimizer
In order to differentiate data for URLs with the same URL but different layouts/views created using Visual Website Optimizer (VWO), you can use the VWO data connector to configure the different layouts as variations.
Enabling the VWO data connector
To enable this option, go to Connect > Data Connectors > Configure Data Connectors > Split Testing > Visual Website Optimizer and tick the Visual Website Optimizer Integration Enabled checkbox, before clicking Save.
You can now begin to implement this data connector.
Implementing the VWO data connector
if (window.decibelInsight) {
decibelInsight('ready', function () {
decibelInsight('sendIntegrationData', 'VWOIntegration', {id: 12345, name: 'Variation 1'});
});
}
if (window.decibelInsight) {
decibelInsight('ready', function () {
decibelInsight('sendIntegrationData', 'VWOIntegration', {id: 12345, name: 'New Homepage Original'});
});
}
if (window.decibelInsight) {
decibelInsight('ready', function () {
decibelInsight('sendIntegrationData', 'VWOIntegration', {id: 12345, name: 'New Homepage Variation'});
});
}
This will then allow DXA to collect these variations independently and recognize these as different variations.
Using VWO variations
Upon collecting VWO variations, you can begin to use these by creating segments based on them.
When adding filters to a segment, click on the Integrations tab and go to Visual Website Optimizer Variation and use the Please select ... text box to search for a variation.
You can then use the segment to filter sessions, heatmaps, forms, and other DXA features based on visitors who have viewed that particular variation.