Convert-6sense Integration
6sense is a predictive prospect analysis and lead scoring software that gathers data on your prospective buyers, analyzes their requirements, and predicts their behavior across various stages of the buyer journey.
For each experiment, the integration uses page attributes 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 6sense auto event tracking code are installed on your page. Once you have added the codes to your website, you will be able to send Convert data to your 6sense account.
Activate Convert-6sense Integration
Add the code below to your website right after the Convert + 6sense event tracking codes which will send Convert Experience and Variation names to 6sense. We are using the setPageAttributes function
<script>
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._6si.push(['setPageAttributes', {
variation_id: curVariant,
experience_id: curExperimentName
}]);
View Convert Data in 6sense
Using a page attribute in 6sense, you will be able to view all of your Convert Experiences data as they associate to the values that you pass in the attribute.
Comments