How to Integrate with Medallia Digital Experience Analytics

This Article Will Help You:


Convert Experiments - Medallia Digital Experience Analytics Integration

Integrating Medallia Digital Experience Analytics with Convert Experiences allows you to analyze behavior derived from the variations in your A/B test experiments. 

You will have to install an additional script to your website, along with the Convert Experiments and Medalia tracking codes.

In order for this to work for all current and future campaigns, this will only need to be done once on the pages that you want to track.

Ensure you have installed the Convert Experiences tracking code and it is working properly

https://convert.zendesk.com/hc/en-us/articles/204506819-Check-if-Convert-Experiences-Is-Installed-Correctly

Install the Medalia tracking code on your site

https://knowledgebase.decibelinsight.com/articles/710-decibel-insight-tracking-code

Make sure the Medalia tracking code comes before the Convert Experiences Tracking code on your page(s).

Enable "Generic AB Testing" in Medalia

https://knowledgebase.decibelinsight.com/articles/640-generic-ab-testing

Install the integration code

Add the following code to the Global Project JavaScript section found on your Convert Project Configuration page:

var refObject = window['convert']['data']['experiments']
for (var key in window["convert"]["currentData"]["experiments"]) {
if (!window["convert"]["currentData"]["experiments"].hasOwnProperty(key)) {
continue;
}}

var currentExperiment = window["convert"]["currentData"]["experiments"][key];
var curExperimentName = refObject[key] && refObject[key].n ? refObject[key].n : "unknown experiment name";
curExperimentName = curExperimentName.replace("Test #", "Test ");
var curVariantName = currentExperiment['variation_name'] ? currentExperiment['variation_name'] : "unknown variant";
var curVariantId = currentExperiment['variation_name'] ? currentExperiment['variation_id'] : "unknown variant";
var curExpNameandVarName = curExperimentName + ' ' + curVariantId;


if (window.decibelInsight) {
decibelInsight('ready', function () {
decibelInsight('sendIntegrationData', 'ConvertIntegration', {id: curVariantId, name: curExpNameandVarName});
});
}

Turn Off Data Anonymization

In order for the script to access human readable experiment data, you’ll need to turn off Data Anonymization in your Project Configuration.

mceclip0 (1)-3

Make sure Data Anonymization is un-checked.

After the Installation

Upon collecting Generic A/B Testing Variations, you can begin to use these by creating Segments based on them:

mceclip0-Jul-17-2024-09-54-28-9211-AM