Integrate Convert Experiences with Piano Analytics

This Article Will Help You:


Convert-Piano Analytics Integration

Piano Analytics(formerly AT Internet) is a privacy-friendly analytics service that is an attractive alternative to Google Analytics. It only stores data that enables a simple analysis of visits to your website. In doing so, Piano does not track the user across multiple websites (does not store cross-site cookies).

With the Convert-Piano integration, unique visitors to your experiments’ variations will be passed into Piano using custom events.

Read more about how you can use Piano as an alternative to GA.

 

Important

This integration is still in beta status. Use with caution the steps described below.

Add Tracking Code Snippets

Make sure the Convert tracking code and the Piano Javascript tracker code are installed/initialized on your page. 

Activate Integration Manually

This example code can send Experiment and Variation names/IDs to your Piano Analytics dashboard:

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

pa.sendEvent('mv.test_display', {
'mv_test': curExperimentName,
'mv_creation': curVariant,
'mv_wave':1
});

View Convert Data in Piano Analytics

Once the integration is enabled, you will be able to view all of your Convert Experiences data as they associate to the values that you pass in the event.