This Article Will Help You:
- Convert-Parse.ly Integration
- Add Tracking Code Snippets
- Activate Integration Manually
- View Convert Data in Parse.ly
Convert-Parse.ly Integration
Parse.ly is a technology company that provides web analytics and content optimization software for online publishers. This article will walk you through how to send custom Convert data to Parse.ly.
For each experiment, the integration will 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 Parse.ly javascript code are installed on your page. Parse.ly tracking code looks like this:
Activate Integration Manually
Then you should add this extra code to your website to send custom events that include your visitors' experience and variations names:
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 ");
PARSELY.beacon.trackPageView({
url: url,
urlref: urlref,
action: "_ConvertExperiment",
data: {
_w: curExperimentName
_y: curVariant
}
});
View Convert Data in Parse.ly
This custom ConvertExperiment event will be ignored by Parse.ly's dashboard and APIs, but you can use it to do scroll depth calculations via Parse.ly's Raw Data Pipeline. In that case, it would show up as events where action
is _ConvertExperiment
and extra_data._y
, extra_data._w
is set to the Convert experiment/variation names in the JSON object of your raw records.