Integrate Convert Experiences with GoSquared

This Article Will Help You:


Convert-GoSquared Integration

Integration of GoSquared with Convert Experiences will help you to import Convert data into your GoSquared Analytics dashboard. 

For each experiment, the integration uses 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 GoSquared Analytics tracking code (tracker.js) are installed on your page. 

Convert Tracking Code can be found on Project Configuration:


GoSquared Tracking Code can be found under Installation Options:

Activate Integration in Convert

Go to your Convert experience settings and under Integrations select the GoSquared. Then click Save and Continue. Once this is activated, all your visitor traits will be translated and passed through to the GoSquared Analytics and live chats without any mapping or configuration. The same goes for eCommerce events. 

Activate Integration Manually

If you do not want to activate the integration through Convert Experiences, you can activate it manually by sending your custom events to Gosquared with the code below:

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

_gs('event', 'Convert Experiences', {
Exp_Name: curExperimentName,
Var_Name: curVariant
});

View Convert Data in GoSquared

Using an event in GoSquared, 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 GoSquared account, you should go to Analytics > "Now" to see a minute by minute timeline of the web traffic or go to "People" to know what experiments/variations your visitors are bucketed into.