Integrate Convert Experiences with Mapp

This Article Will Help You:



Convert-Mapp Integration

Integration of Mapp (formerly Webtrekk) with Convert Experiences will help you to import Convert data into your Mapp account. 

For each experiment, the integration can pass along the experiment name and variation name that the visitor is currently bucketed into (if any).

 

Important

This integration is still in beta status. Use with caution the steps described below.

 

Add Tracking Code Snippets

Make sure the Convert tracking code and the Mapp Tag are installed on your site. Integrating the Mapp tracking script into the head of the website is fundamental for the implementation of Mapp. The JavaScript file has to be hosted on your web server and should be integrated at the highest position on all your pages. 

Create Mapp Container

Mapp Tag Integration is managed with the help of containers.

Add Mapp Plugin

Once the tracking script is integrated into the website and the container has been created, only
the Mapp plugin is missing to complete the basic Mapp implementation. Follow the steps on the Mapp interface and fill in the relevant information.

If you have followed the instructions to this point, you have implemented Mapp in the
standard configuration and tracking runs on autopilot. Now comes the interesting part: The
customization of tracking with additional values so your individual requirements are met. This
is achieved by integrating the data layer in Tag Integration.

Example code for the data layer to send Convert Experiment and Variation names:

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 curVariant = currentExperiment['variation_name'] ? currentExperiment['variation_name'] : "unknown variant";
curVariant = curVariant.replace("Var #", "Variation ");

var wt = new webtrekkV3(webtrekk);
wt.customClickParameter = {
linkId_1: {
1: curExperimentName,
2: curVariant
}
};

View Convert Data in Mapp

In order to see the Convert data sent, you must log in to your Mapp account and go to your Reports.