The Next Generation of Visual Website Optimizer is launching on 29th April 2014 See What's Coming

Categories

Find Articles

KISSmetrics

To integrate KISSmetrics with VWO reports, you need to take the following steps

1) Add the following code on the page (location does not matter, works with both Synchronous and Asynchronous code of VWO)

<script type="text/javascript">
var _vis_opt_queue = window._vis_opt_queue || [], _vis_counter = 0, _kmq = _kmq || [];
_vis_opt_queue.push(function() {
	try {
		if(!_vis_counter) {
			var _vis_data = {},_vis_combination,_vis_id,_vis_l=0;
			for(;_vis_l<_vwo_exp_ids.length;_vis_l++) {
				_vis_id = _vwo_exp_ids[_vis_l];
				if(_vwo_exp[_vis_id].ready) {
					_vis_combination = _vis_opt_readCookie('_vis_opt_exp_'+_vis_id+'_combi');
					if(typeof(_vwo_exp[_vis_id].combination_chosen) != "undefined")
						_vis_combination = _vwo_exp[_vis_id].combination_chosen;
					if(typeof(_vwo_exp[_vis_id].comb_n[_vis_combination]) != "undefined") {
						_vis_data['VWO-Test-ID-'+_vis_id] = _vwo_exp[_vis_id].comb_n[_vis_combination];
						_vis_counter++;
					}
				}
			}
			// Use the _vis_data object created above to fetch the data, 
			// key of the object is the Test ID and the value is Variation Name
			if(_vis_counter) _kmq.push(['set', _vis_data]);
		}
	}
	catch(err) {};
});
</script>

 

2) Now you can check the properties inside KISSmetrics with the name VWO-Test-ID-# (where # is the test ID, example: VWO-Test-ID-120), inside it you will find the name of the variation shown to the visitor.

 

To see your test ID, click on the test report and check the test details by clicking on “View/Edit Test Details”. Then, scroll down to the “Other” section where the test ID is displayed.
Visual Website Optimizer Test ID
VN:F [1.9.22_1171]
Rating: 3.7/5 (7 votes cast)
KISSmetrics, 3.7 out of 5 based on 7 ratings
Tags

No Comments

No comments yet.

Leave a comment →


Raise Support Ticket

Top

Raise a Support Ticket!

Your Name

Your Email

Your Phone

Your Query

Or, contact us through email support@wingify.com

A B Testing Tool