A/Bingo - Nice Plugin for A/B Testing the User Response
A/Bingo is a Ruby on Rails A/B testing framework written as a plugin. It can be used to toggle between various options and get stats based upon user interaction.
Install A/Bingo
script/plugin install git://git.bingocardcreator.com/abingo.git
Create Migration
script/generate abingo_migration
Migrate database
rake db:migrate
Add code to your view files where you need to test
1 2 3 |
|
Above code will show 3 different titles randomly. Now we need to monitor the response for the testing
1 2 3 4 5 6 7 8 9 10 11 |
|
bingo! "signup_title"
records the user interaction in database, which can be used to analyze. Use generate command to create a controller for abingo
script/generate controller abingo_dashboard
and add A/Bingo dashboard code to it
1 2 3 4 |
|
Now visit http://localhost:3000/abingo
to checkout the stats. Bingo !!
Sources :