ATTENTION: VWO is now offering an improved integration experience. If you
see a tab named Integrations on the left panel of your VWO dashboard, you
have the new experience enabled on your VWO account. The new experience
allows to deploy the Kissmetrics integration specific code from the VWO
dashboard, i.e., no manual code installation is required. To check VWO
data in Kissmetrics reports, refer to the article below.
If the new experience is not available on your account, please follow the
article instructions for your integration setup.
Integrating Kissmetrics with VWO helps you push data from the test pages to Kissmetrics. It enables you to monitor or compare data in Kissmetrics.
The end-to-end process of integrating Kissmetrics with VWO involves the following steps:
- Adding tracking code to test pages
- Viewing your VWO Test ID
Adding Tracking Code Test Pages
Add the following code snippet on the pages where the VWO test is running. The snippet works with both Synchronous and Asynchronous code of VWO, regardless of the location.
<script type="text/javascript">
(function() {
var vwoKmData = {},
dataSendingTimer;
window.VWO = window.VWO || [];
window._kmq = window._kmq || [];
window.VWO.push(['onVariationApplied', function(data) {
if (!data) {
return;
}
var expId = data[1],
variationId = data[2];
if (typeof(_vwo_exp[expId].comb_n[variationId]) !== 'undefined' && ['VISUAL_AB', 'VISUAL', 'SPLIT_URL', 'SURVEY'].indexOf(_vwo_exp[expId].type) > -1) {
vwoKmData['VWO-Test-ID-' + expId] = _vwo_exp[expId].comb_n[variationId];
clearTimeout(dataSendingTimer);
dataSendingTimer = setTimeout(function() {
window._kmq.push(['set', vwoKmData]);
vwoKmData = {};
}, 100);
}
}]);
})();
</script>
Once you have added the VWO code, check the TRACKED PROPERTIES section in Kissmetrics with the name VWO-Test-ID-# (where # is the test ID). You will find the variation name displayed for the visitor inside the test. For example, VWO-Test-ID-120.
Viewing your VWO Test ID
Follow these steps to view the test ID in the VWO dashboard:
- Select the test for which you want to view the ID.
- On the test details page, go to Settings > Summary.
- Check for the Campaign ID in the Other Information section of the page.
Comments
0 comments
Please sign in to leave a comment.