Integrate Convert Experiences with Kissmetrics

Convert-Kissmetrics Integration

We offer an integration with Kissmetrics. Having a solid integration and giving you access to experiences and variation data in the preferred analytics platform is important. We send over two property names that have values the experience & variation name the user currently sees. This will allow you to continue tracking the effect of a variation in the funnels as well as every other reporting option offered in Kissmetrics.

This article will walk you through how to send data from Convert experiences/variations to your Kissmetrics account. For each experiment, the integration will pass along the experiment name and variation name that the visitor is currently bucketed into (if any) as a snapshot.

Add Tracking Code Snippets

Make sure the Convert tracking code and the Kissmetrics code are installed on your page. Kissmetrics tracking code looks like this:

mceclip1.png

Activate Integration Manually

Once you have the two tracking codes in your website, then you should add this extra code to track events and properties (one for experiment name and one for variation name). You can add this to the Project Global Javascript section or directly on your pages, after the Kissmetrics and Convert tracking codes.

   
    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 ");

_kmq.push(['set', {'Experiment Name':curExperimentName}]);
_kmq.push(['set', {'Variation Name':curVariant}]);
}

View Convert data in Kissmetrics

After integration is enabled and your experiment is activated, you will be able to find in your Kissmetrics account the custom user data that you sent. Go to Settings->Live to search for what you want. In each visitor session two extra properties will be added, one for experiment name and one for variation name:

mceclip0.png

Need assistance? Start a conversation with our Support Team.
CONVERT MORE

Reliably Convert More Site Visitors, Even If Everything Else is Changing in Your Business.

START 15-DAY FREE TRIAL
✓ No Credit Card  ✓ Easy Set-Up  ✓ Access All Features

Comments