Integrate Convert Experiences with Crazy Egg

Convert-Crazy Egg Integration

Crazy Egg allows you to get access to your website's heatmap and take digital snapshots that display your visitors' click behavior. This article will walk you through how to send snapshots from Convert experiences/variations to your Crazy Egg dashboard

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 Crazy Egg tracking code are installed on your page. Crazy Egg tracking code looks like this:

Activate Integration

Once the two tracking codes are installed you should go to the Experience Summary and select from Settings the Add/Edit integrations. Once there, check the option "Integrate with Crazy Egg":

You need to provide your Crazy Egg API keys in order to setup the integration. The keys can be found in your Crazy Egg Account under the options menu. If you don't have a Crazy Egg account, get a 90 days free account thanks to our partnership with Crazy Egg (click here).

Activate Integration Manually

If you do not want to use the above method, then you should add this extra code to your website to track custom user variables (one for experiment name and one for variation name). You should install this before the Crazy Egg tracking code so that it can pick up the variables:

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


function CE_READY() {
CE2.set(1, curVariant); //user variable for variation name
CE2.set(2, curExperimentName); //user variable for experiment name
}

View Convert data in Crazy Egg

After integration is enabled and your experiment is activated, you will be able to find in your Crazy Egg account one new snapshot corresponding to each variation in your experiment. Prior to activating this integration, make sure that you have enough snapshots available in your Crazy Egg plan. The snapshots created inside Crazy Egg will have the name prefixed with the word "Convert" and will contain the experiment name as well as the variation name.

If you use the manual integration, then you will be able to see your user variables inside the Confetti view:

We hope you enjoy the new Crazy Egg integration and appreciate feedback and improvement suggestions. 
Note: when you turn on Data Anonymization the names of variations and experiments will be replaced by their IDs.
Have more questions? Submit a request

Comments