Integrate Convert Experiences with RudderStack

Convert-Rudderstack Integration

RudderStack is an open-source, warehouse-first customer data platform (CDP) that builds your CDP on your data warehouse for you. It provides a powerful transformation framework to process your event data on the fly.

For each experiment, the integration uses semantic track events to pass along the experiment name and variation name that the visitor is currently bucketed into (if any).

Add Tracking Code Snippets

Make sure the Convert tracking code and the RudderStack tracking code (rudder-analytics.js) are installed on your page. You will need your Write Key and Data Plane URL that you can find in your Rudderstack account:

mceclip1.png

Send Events to RudderStack

The example code below is using the track API call and will send Convert Experience and Variation names to RudderStack:

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 ");
		
rudderanalytics.track('Convert Experiences', {
	Exp_Name: curExperimentName,
	Var_Name: curVariant
	});

View Convert Data in RudderStack

Using a semantic event in RudderStack, you will be able to view all of your Convert Experiences data as they associate to the values that you pass in the event.

When you log in to your RudderStack account, you should go to your Live Events. There, you can see all of the track events that you are sending through RudderStack.

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