Integrate Convert Experiences with Inspectlet

Convert-Inspectlet Integration

Inspectlet records videos of your site visitors as they use your site, allowing you to see everything they do. See every mouse movement, scroll, click, and keypress on your site. You never need to wonder how visitors use your site again.

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

Add Tracking Code Snippets

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

mceclip0.png

Activate Integration Manually

Once you have the two tracking codes in your website, then you should add this extra code to tag session recordings (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 Inspectlet 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 ");

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

View Convert data in Inspectlet

After integration is enabled and your experiment is activated, you will be able to find in your Inspectlet account the custom user data that you sent. Go to Dashboard ->  Session Recordings

mceclip1.png

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:

mceclip2.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