Integrate Convert Experiences with Usabilla

Convert-Usabilla Integration

Integration of Usabilla with Convert Experiences will help you to import Convert data into your Usabilla feedback forms and buttons. 

For each experiment, the integration can 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 is installed on your page.

Then, create a Usabilla account. If you have not already done so, go to https://usabilla.com/ and register for an account. On every page that you want to install Usabilla, paste the code snippet just before the </body> tag. You can find instructions here.

Send Custom Variables

You can send a custom variable 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)) {
                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 ");

window.usabilla_live('data', {
'custom':{'Experiment_Name': curExperimentName, 'Variation_Name': curVariant} } );

View Convert Data in Usabilla

The Custom Variables will now be included in every feedback item and campaign result. Also, you will be able to target campaigns to users that have certain Custom Variables.  

Have more questions? Submit a request

Comments