What resources are there for A/B split-testing in Rails?

James A. Rosen picture James A. Rosen · Jan 30, 2009 · Viewed 8.1k times · Source

Some information on A/B split-testing:

I could do this in a Rails app with a simple case or if statement in my views, but that gets to be a lot of repetition. Is there a gem to support this? Any design patterns that would help?

Answer

Patrick McKenzie picture Patrick McKenzie · Aug 17, 2009

I just released A/Bingo, an OSS Rails plugin to do this.

You can see the comparison with Seven Minute Abs for details, but I think it is largely more easy to use.

  • It supports tracking any event as a conversion. Seven Minute Abs only tracks clicks off the page you're currently viewing.
  • It remembers what alternative a user saw, and only shows them that.
  • It has lots of syntax sugar aimed at maximizing programmer productivity.
  • It will do statistical significance tests for you.