This website works best with JavaScript enabled. Learn how to enable JavaScript.


Last updated

Integrating KISSmetrics with VWO helps you push data from test pages to KISSmetrics and allows you to monitor or compare data in KISSmetrics. The end-to-end process of integrating KISSmetrics with VWO involves the following steps:

  1. Adding tracking code to test pages
  2. Viewing your VWO Test ID

Adding Tracking Code Test Pages

  1. 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 = {},

      window.VWO = window.VWO || [];

            window._kmq = window._kmq || [];

            window.VWO.push(['onVariationApplied', function(data) {

                if (!data) {



                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];


                    dataSendingTimer = setTimeout(function() {

                        window._kmq.push(['set', vwoKmData]);

                        vwoKmData = {};

                    }, 100);





  2. After 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:

  1. Select test for which you want to view the ID.
  2. On the test details page, select the Settings tab and then click Summary.kissmetrics-vwo
  3. Next, go to the Other Information section of the page to view the Campaign ID.kissmetrics-vwo1

Was this article helpful?

Thanks for your feedback!
Please email us at to tell us what you were looking for. We'll send the answer to your inbox.

Contact Us / Login