Freshworks CRM offers you the option to choose the ‘mode of experiment activation’ at your convenience.
In A/B Testing, once you create an experiment, you may want to activate it later instead of activating it at the time of page load. This is true when the page with more dynamic elements and AJAX requests need testing.
To address this situation, Freshworks CRM provides a solution in the form of Activation Mode to help you define ‘when’ to activate an experiment.
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.
Activate on Page load
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.
Activate on a Condition
Choosing Activate on a Condition mode allows you to enter the condition code, which is then used by Freshworks CRM to evaluate and to activate the experiment accordingly. In this mode, Freshworks CRM 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 need to be changed.
You have a site that 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 the Activate on a Condition mode.
Using Statement :
The following screenshot gives you an example of the Activate on a Condition mode, using a statement.
Using Function :
The following screenshot gives you an example of the Activate on a Condition mode, using a function.
With the help of different Activation modes that Freshworks CRM provides, you can choose the necessary mode suitable for the type of experiment you want to run.