Rails AB Testing - Simple Abs
I recently turned on paid subscriptions to Draft, the writing software I’ve created. And I wanted a really simple way to test a few alternatives of the payment page in Rails without needing to use a separate service.
But the solutions out there get too complicated. Even the “simplest” ones require things like Redis. They do that because somewhere the AB testing library needs to remember what variation of a test a user has already seen, so it knows what to show them on subsequent visits.
But I don’t want to install Redis just to have my AB tests be performant. That’s still an extra network call to Redis for this simple operation, not to mention the added complexity of adding Redis to my software stack when I don’t need it right now.
Why can’t the AB testing library just store what variation a user has already seen in the user’s cookies?
That’s what SimpleAbs does.
Installation
...
