Mobile app version of vmapp.org
Login or Join
Connie744

: Event based triggers in AB testing using VWO Is it possible to create an AB test where 100% of users see a page and only those that click a button are entered into the variation in VWO

@Connie744

Posted in: #ABTesting

Is it possible to create an AB test where 100% of users see a page and only those that click a button are entered into the variation in VWO (Visual Website Optimizer)?

I have asked the company but they often take a while to respond.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie744

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sue5673885

This can be done by adding some code to the source:

window.VWO = window.VWO || [];
window.VWO.push(['activate', false, <array_of_campaign_ids>, true]);


Example : Triggering campaign 10 on button click

$('#trigger').on('click', function () {
window.VWO = window.VWO || [];
window.VWO.push(['activate', false, [10], true]);
});


Triggering multiple campaigns

$('#trigger').on('click', function () {
window.VWO = window.VWO || [];
window.VWO.push(['activate', false, [10,20,30], true]);
});


Then VWO has to set the key manual:true at their end which we would let them know when the test is built.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme