![]() |
A/B Testing Powered By jQueryPerform flexible A/B testing |
![]() |
Cross-Browser CompatiabilityBecause everyone deserves the right to vote. Even if they are running IE7. |
In production environments, AB tests happen without the user’s knowledge. In these demonstrations, you will walk through each step manually.
In the following demos:
This demo 2 options. The options are the same elements we want the user to “click” on.(i.e. the options are the action elements).
Both buttons are included the HTML (in a production environment, hide one by default in CSS to prevent flash of unstyled content.).
Start Presentation
$('#buy_now > button').ab({
'testname': 'buy button',
'action_el': $('#buy_now > button')
});
This demo has 3 different options. It shows how to display different text and test which text gives the highest response rate.
All three text options are included in the HTML.(In a production environment, hide two of the texts in CSS to prevent flash of unstyled content.)
Start Presentation
$("#subscribe_text > h2").ab({
'testname': 'subscribe text',
'action_el': $('#subscribe_text > button')
});
If you have a case where you want to test for a different event, specify the action_ev option with the event to bind.
Start Presentation
$('#keypress_test div').ab({
'testname': 'keypress',
'action_el': $('#keypress_test input'),
'action_ev': 'keypress'
});