1

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.

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.