Integrate Convert Experiences with Integration

Integration of with Convert Experiences powers your product decisions with a unified solution for feature flagging and experimentation. You will need the Integrate package to be able to achieve the steps below.

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

Add Tracking Code Snippets

First make sure the Convert tracking code is installed on your page.

On every page that you want to install Split, paste the javascript SDK as described here.

Send Custom Events

You should then create the custom events you want to send (e.g. Convert Experiment Name and Convert Variation Name that the website visitor is bucketed into) by using the track method. The track method allows you to record any actions your customers perform. Each action is known as an event and corresponds to an event type. You can send a custom event from anywhere in the page where Convert experiences are running.

Example code for sending Experiment Name and Variation Name:

var refObject = window['convert']['data']['experiments']
        for (var key in window["convert"]["currentData"]["experiments"]) {
            if (!window["convert"]["currentData"]["experiments"].hasOwnProperty(key)) {
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 queued = client.track('ConvertExperiment', curExperimentName);
var queued = client.track('ConvertVariation', curVariant); 

View Convert Data in Split

Track events can be found in the Event Types tab in Admin Settings. Click view next to an event type to see all of the corresponding events. 

Need assistance? Start a conversation with our Support Team.

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

✓ No Credit Card  ✓ Easy Set-Up  ✓ Access All Features