The power to choose the mode of experiment activation at your convenience.
In A/B Testing, once you create the experiment, you might want to activate it at a later point of time instead of activating it at the time of page load. This can happen when the page with more dynamic elements and AJAX requests needs to be tested. To address this situation, Zarget provides solution in the form of Activation Mode that can help you define when to activate an experiment.
"Activation Mode" in Summary Tab
The Activation Mode option will be available in the preflight stage of the experiment and users can choose the specific mode that suits their necessity.
There are three options under Activation Mode namely,
- Activate on Page load
- Activate Manually
- Activate on a Condition
By default, all the experiments have “Activate on Page Load” as the activation mode, which means, the experiment gets activated on the page load.
Some scenarios where Manual activation mode can come in handy are,
- A web page where the experiment needs to be manually activated at some point of time after the page load.
- You prefer employing manual code to activate the experiment so that it gives you more control over the site.
Activation Mode : Manual
Choosing Activate on a Condition mode allows you to enter the condition code, which is then used by Zarget to evaluate and to activate the experiment accordingly. In this mode, Zarget checks the condition code for every 50 milliseconds and activates the experiment when the condition is satisfied.
Some scenarios where Condition activation mode can come in handy are,
- Your site has an AJAX request that comes after a specific time from the completion of page load and the request returns new elements that needs to be changed.
- You have a site which demands a customary action from the users before starting the experiment.
- You have a site where you want to activate the experiment depending on the event triggered by a single page application framework (Meteor,js, Ember.js or Angular.js).
You can either use a conditional statement or a function to trigger the experiment in Activate on a Condition mode.
Using Statement :
Activation Mode : On a Condition (Using Statement)
Using Function :
Activation Mode : On a Condition (Using Function)