You need somewhere to collect the data:
And you need a copy of the plugin script.
| For a Instabir.com Subscription use: | jquery.ab.hosted.min.js (compressed) | or | jquery.ab.hosted.js (development) |
| Running your own server use: | jquery.ab.min.js (compressed) | or | jquery.ab.js (development) |
<!--Add jQuery and Plugin -->
<script type='text/javascript' src='jquery.min.js'>
<script type='text/javascript' src='jquery.ab.min.js'>
<!--Testing which text provides more sign ups -->
<span id='SignUp_Now'>Sign Up Now</span>
<span style='display: none;' id='Register_Now'>Register Now</span>
<!-- Hide one element in case the client does not have js -->
<a href="page.html">Go</a>
The test is configured in HTML
You will also need an Action Element.
Check out the Demos Page for more examples.
(function(){
$(document).ready({
$('span').ab({
testname: 'Sign-Up Text',
action_el: $('a')
});
});
})(jQuery)
Optional Parameters
But wait? How do I view the results of my test?
If you have a Instabir.com Subscription, Login and click the “View Results” link in the top menu.
If you run your own server, results will be stored in your local database.