Wednesday, February 29, 2012

Rails A/B testing with Split on Heroku

I recently decided to start doing some A/B testing on www.checkthesock.com. The last time I tried A/B testing I used Google website optimizer, it worked fairly well but I did not like how difficult it was to setup a test. This time I looked around for A/B testing tools for rails. I ended up finding split and so far I have been very happy with the results. The documentation is fairly good but it did take a little fiddling to get it working on Heroku.

First off add the Redis to Go add-on in Heroku, the Nano plan is free and has been sufficient for my needs so far. Install redis on the dev server. I use a mac so that was as simple as "brew install redis" and then I followed the brew instructions for getting redis to start on login.

To install the split gem add the following to the Gemfile

 gem 'split', '0.3.3', :require => 'split/dashboard'

To set the development environment up in a way that is compatible to how Redis to Go is configured on Heroku add the following to config/environments/development.rb

ENV['REDISTOGO_URL'] = 'redis://localhost:6379'
Then create an initializer for redis in config/initializers/redis.rb and put the following in that file.
uri = URI.parse(ENV['REDISTOGO_URL'])
REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password, :username => uri.user)
To configure split to use the applications redis configuration create config/initializers/split.rb and add the following.
Split.redis = REDIS

To setup the split dashboard add the following to config/routes.rb

mount Split::Dashboard, :at => 'split'
To add authentication to the dashboard add the following to config/initializers/split.rb
Split::Dashboard.use Rack::Auth::Basic do |username, password|
  username == 'username' && password == 'password'
end

Setting up an A/B test is super easy just follow the instructions in the split README.

Resources:

Note: These instructions are for rails 3.x, the listed resources do have instructions for earlier versions of rails.

289 comments:

«Oldest   ‹Older   201 – 289 of 289
Irfan Cracks said...

You Can Also Download Cracked Softwares For Windows & Mac Free Here. Feel Free To Check My webpage: port forward Network Utilities Crack

Abii CH said...

This post is interesting, thanks for Sharing such article. Extremely inspired with your writing skills. You have done really good work. Keep it up
TREND MICRO INTERNET SECURITY CRACK

Tellali felakti umumiye said...

tiktok jeton hilesi
tiktok jeton hilesi
referans kimliği nedir
gate güvenilir mi
tiktok jeton hilesi
paribu
btcturk
bitcoin nasıl alınır
yurtdışı kargo

Raj Sinha said...

You’re so interesting! I don’t believe I’ve truly read something like this before. So great to find someone with genuine thoughts on this issue. Really.. many thanks for starting this up. This website is something that’s needed on the internet, someone with some originality!

CBSE Schools In Bangalore
CBSE Schools In Haridwar
CBSE Schools In Hoshiarpur
CBSE Schools In Kapurthala
CBSE Schools In Jalandhar
CBSE Schools In Nainital
CBSE Schools In Pauri Garhwal
CBSE Schools In Pithoragarh
CBSE Schools In Roorkee
CBSE Schools In Rudraprayag

Abii CH said...

Amazing blog to read. Thanks for sharing this type of useful articles, keep it up.
TIPARD WINDOWS PASSWORD RESET ULTIMATE CRACK

Unknown said...

Your post is very helpful and information is reliable. I am satisfied with your post. Thank you so much for sharing this wonderful post. If you have any assignment requirement then you are at the right place. 메이저사이트

UFABET1688 said...

Good site! I really love how it is easy on my eyes it is. I am wondering how I could be notified whenever a new post has been made. I have subscribed to your feed which may do the trick? Have a nice day! ufabet บริษัทแม่

Abii CH said...

Very informative post. This post is very helpful. The article is very useful & easy to understand. Actually peaks my interest. Thanks For sharing it.
DATANUMEN RAR REPAIR CRACK

Wasi Ali said...

Amazing blog to read. Thanks for sharing this type of useful articles.
DATANUMEN RAR REPAIR CRACK

Unknown said...

Counting Cards Raw 메이저놀이터추천 Class #5 The Basics (Short Version)

Saqib said...

I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to saqibtech.net But thankfully, saqibtech.net

avast internet security crack
cyberlink powerdvd ultra crack
nordvpn crack
mediahuman youtube downloader with crack
apowersoft screen recorder pro full crack

Wasi Ali said...

Very informative post. The article is very useful & easy to understand. Actually peaks my interest. Thanks For sharing it.
FL STUDIO CRACK

Bossssss said...

I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Crack Softwares Free Download But thankfully, I recently visited a website named Crackedfine
Malwarebytes Crack
Spyhunter Crack
Hide My IP Crack
Freemake Video Crack
Sandboxie Crack

Softs 32 said...

Your blog is so amazing and informative. This was an excellent article. Thank you for sharing it.
vfxAlert

Unknown said...

I visited last Monday, and in the meantime, I came back in 안전놀이터 anticipation that there might be other articles related to I know there is no regret and leave a comment. Your related articles are very good, keep going!!

careful Bolger said...

Whatsapp Number Call us Now! 01537587949
SEO Service in Bangladesh
USA pone web iphone repair USA
USA SEX WEB SEO Company in USA
bd sex video B tex
bd sex video sex video
bd sex video freelancing course

Syeda Wallail Angaiz Moater said...

I want to share my experience with you that this software is amazing and works in a very easy way. Download Now

ONcaino said...

Please let me know if you’re looking for a article writer for your site. You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine. Please send me an email if interested. Thank you 먹튀사이트 I couldn't think of this, but it's amazing! I wrote several posts similar to this one, but please come and see!!

Wasi Ali said...

It's an amazing blog for information. I am very happy to find this blog. Thanks for sharing it.
ABLE2EXTRACT PROFESSIONAL CRACK

Wasi Ali said...

Nice Post, I really appreciate your efforts. Keep it up.
iMazing Crack

jhon said...

I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
Very interesting blog.
MediaHuman YouTube Crack
Active Disk Image Professional Crack
Burnaware Professional Crack

Fahdi Ch said...

Nice Post. You have done really good work. Thanks for sharing it.
iTubeGo YouTube Downloader Crack

Mani Jr said...

Great efforts. Very Interesting Article. You have done excellent job.
TunePat Netflix Video Downloader Crack

Wasi Ali said...

Interesting Article. Excellent work. Keep it up.
cFosSpeed Crack

Unknown said...

Hello, I am one of the most impressed people in your article. 토토사이트순위 I'm very curious about how you write such a good article. Are you an expert on this subject? I think so. Thank you again for allowing me to read these posts, and have a nice day today. Thank you.

Sikandar Ali said...

Really Good Work Done By You...However, stopping by with great quality writing, it's hard to see any good blog today.
Freeprosoft
Freemake Video Converter Crack
Crack Softwares Free Download

Unknown said...

Wow, amazing block structure! How long
Have you written a blog before? Working on a blog seems easy.
The overview of your website is pretty good, not to mention what it does.
In the content!
vstpatch.net
Miracle Box Crack
krotos everything bundle Crack
Little Alterboy Crack
FaBFilter Pro Crack
Pianoteq Pro Crack

Nora Pittman said...

Freelancers Incubator is a European educational institution specializing in the field of freelancing and fersonal growth. Become a freelancer

Unknown said...

I am a professional web blogger so visit my website link is given below!To get more information
crackroot.net/
Substance Painter Crack/

ecrack said...

After looking through a few blog articles on your website,
we sincerely appreciate the way you blogged.
We've added it to our list of bookmarked web pages and will be checking back in the near
future. Please also visit my website and tell us what you think.
Great work with the hard work you have done I appreciate your work thanks for sharing it.
ecrack Full Version Softwares Free Download
High-logic Fontcreator Pro Crack

James said...

Great Job! I really like your work, now let me tell you that India start issuing tourist visas again. Now foreign travelers can apply for a long term e visa.

Mudassara said...

I enjoyed reading your first post. Thanks for posting.
Apple Motion

kanwalpc said...

I'm really impressed with your writing skills, as smart as the structure of your weblog.
Native Instruments Komplete Ultimate Crack
GBWhatsApp Apk Crack
NetWorx Crack
Antares AVOX Crack
Easy Duplicate Finder Crack

Lumion Pro I am very impressed with your post because this post is very beneficial for me said...





I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. Free4links.com I hope to have many more entries or so from you.
Very interesting blog.
Freemake Video Converter Crack

Unknown said...

I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 year! but I had no idea of solving some basic issues. I do not know how to Crack Softwares Free Download But thankfully, I recently visited a website named vsthomes.com
crackpedia.net
crackpedia.net
crackpedia.net
crackpedia.net
Serif Affinity Photo Crack
Voicemod Pro crack
ESET Internet Security crack
PhpStorm crack
Foxit PhantomPDF Business crack

FreeWindow said...


I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Download Latest PC Cracked Softwares But thankfully, I recently visited a website named pcsoftz.net
Adobe Photoshop Lightroom Crack
Icecream PDF Editor Pro crack
Tenorshare 4uKey For Android Crack
IOBIT Advanced SystemCare Pro Crack
XYplorer Pro Crack
K-Lite Mega Codec Pack Crack
Winstep Nexus Ultimate Crack
IObit Uninstaller Pro Crack

Unknown said...

Howdy! Do you know if they make any plugins to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Cheers! 안전토토사이트

Unknown said...

What a post I've been looking for! I'm very happy to finally read this post. 토토사이트 Thank you very much. Can I refer to your post on my website? Your post touched me a lot and helped me a lot. If you have any questions, please visit my site and read what kind of posts I am posting. I am sure it will be interesting.

Raptorz said...

İnstagram takipçi satın al! İnstagram takipçi sitesi ile takipçi satın al sende sosyal medyada fenomen olmaya bir adım at. Sende hemen instagram takipçi satın almak istiyorsan tıkla:

1- takipçi satın al

2- takipçi satın al

3- takipçi satın al

CrackedApps said...

Your blog is so amazing and informative. This was an excellent article. Thank you for sharing it.
WinRAR

Devender Singh said...

CBSE School in Meerut
Top English Medium School in Meerut

Anonymous said...


Cognition

Unknown said...

I'm very curious about how you write such a good article. Are you an expert on this subject? I think so. Thank you again for allowing me to read these posts, and have a nice day today. Thank you. 슬롯커뮤니티

Unknown said...

Wow, amazing block structure! How long
Have you written a blog before? Working on a blog seems easy.
The overview of your website is pretty good, not to mention what it does.
In the content!
vstkey.com
SoundToys Crack
Sound theory Gullfoss Crack
Media Player Classic Crack
Macdrive Pro Crack
Drip Fx VST Crack

Unknown said...

What a post I've been looking for! I'm very happy to finally read this post. 안전놀이터 Thank you very much. Can I refer to your post on my website? Your post touched me a lot and helped me a lot. If you have any questions, please visit my site and read what kind of posts I am posting. I am sure it will be interesting.

Unknown said...

CasinoMecca

Dương Dương said...

It seems like I've never seen an article of a kind like . It literally means the best thorn. It seems to be a fantastic article. It is the best among articles related to 메이저안전놀이터. seems very easy, but it's a difficult kind of article, and it's perfect.

hihihihih said...

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future. 토토사이트추천

9999 said...

ufabet1688x สมัคร เว็บแทงบอลออนไลน์ ยูฟ่าเบท ที่ได้มาตรฐานระดับโลก เว็บ UFABET มือถือ ที่ดีที่สุดในประเทศไทย แทงบอลออนไลน์ คาสิโน บาคาร่า สล๊อต ufabet

9999 said...

ที่สุดแห่งบาคาร่าออนไลน์ biobetgaming บริการตลอด 24 ชั่วโมง บริการด้านเกมคาสิโนหลากหลายเช่น บาคาร่าออนไลน์ รูเร็ท แบล็คแจ็ค เสือมังกร ไฮโล และอื่นๆอีกมากมาย ที่มาพร้อมกับโปรโมชั่นโดนใจเน้นๆ ที่นี่ที่ biogaming

Custom packaging Boxes with logo said...

Hey, what a brilliant post I have come across and believed me I have been searching out for this similar kind of post for the past week and hardly came across this. Thank you very much and will look for more postings from you.
CBD Balm Boxes
Custom CBD Capsule Boxes
Custom Popcorn Boxes
custom lip balm packaging boxes
Custom Vape Packaging Boxes
Custom Mini Burger boxes
printed eye shadow Boxes
Custom Candle Packaging Boxes
Custom printed soap boxes
cardboard cones wholesale

crackedfull said...

Thanks for supporting us.Because of this many reasons or shortages users,
get often problem and strikes with those process which were totally unbearable
for the computer users. Your blog is nice and supporting us.
https://crackedfull.org/

Dung said...

This is the perfect post.메이저토토사이트 It helped me a lot. If you have time, I hope you come to my site and share your opinions. Have a nice day.

MARTIN KAPOS said...

Hii everyone, nice information for a new blogger…it is really helpful. emergency Indian visa for US citizen, US citizens can apply for India visa online easily. Within 5 to 10 minutes you can fill your form and in 1 to 3 working days you can get your visa.

magic musshrooms said...

Buy Hot Tubs and get the best deals at the lowest prices on ehottub.eu | lay-z-spa, intex spa, Bestway, Mspa. Free delivery.

phim33 said...

Choose to play with each other satisfactorily, and the distinctiveness of the game camp, we can say that there are quite a lot of them. The prize money is distributed to the gamblers to win every moment. Having fun 24 hours a day, it can be considered that this gambling game camp is quite interesting and we do not have to wonder why many people have come to choose to play this gambling game camp because we have a variety. Many prizes are given out to players, allowing players to win at any moment. pgslot

Jackergame said...

This was a useful blog. I shared it with all my friends so that they can enhance their knowledge by reading these blogs. ดูบอลสด

Jackergame said...

I think you for such a great article. After I read it It made me get to know many stories that happened. pgslot

ambbet said...

Live22 online slot game camp An old-fashioned version that retains the charm of 2D online slot games that players can play and feel the old slot machine games. thus becoming popular with players who like to play old-fashioned slot games to play more online slots games As a game camp that has been adapted to an online format It's still a classic. superSlot

shadepo said...

But if you are still not sure Will you be able to profit from this online slot game? You may deposit money to Increase costs and reduce turnover first. to claim free credit because of the promotion that you have made the deposit will be a promotion with turnover or simplified terms which will create an opportunity to make money for you ambbet

ตุ๊กตา said...

If you want to enhance luck To enhance your financial luck, we recommend planting these trees because these trees have been with us for a long time. If you plant them, they will increase your wealth. Wealth is sure to give you and today is considered o. ambbet

poom said...

Selective people's web slots Here, in addition to playing slots games in full capacity There are more than 300 games to choose from. They also give away bonuses and free credits. Without fear of losing at all! Just start playing and you will be waiting for free credit. We actually give away every deposit. There are also activities slotxo

Olivia Lane said...

Nice post.

buy modafinil 200mg at best price.

ploy said...

have little capital to play will be suitable for promotion that you may need to add the game to the system first Before you enter the game This will come with a higher free credit distribution. And there is a chance to withdraw more easily as well also when the funds Combined with the credits that you have received together, it will give you a higher capital to play accordingly. บาคาร่า ออนไลน์

Unknown said...

Understanding the game of gambling in any way from memorizing the details of the game to the vocabulary used because it is very important that you understand and You should also keep in mind what it does, each of which has different importance and different ways to use the buttons in the game. บาคาร่า

Boomza said...

mmend some eye care. The fruits that are in this section are high in vitamins that help nourish the eyes, and we would also like you to come to know the benefits of different results as well. That's it, you will be able to come and eat to maintain good eye health. Let's take a look at which fruits have the mo สล็อต

HANAKA555 said...

Playing games for a long time may cause us to lose sight, it is possible, especially for those who have never looked after anything. And not eating supplements or fruits and vegetables, the more we do not get vitamins from different parts. And the vitamins that help nourish the eyes most will be in the supplement or various fruits and vegetables. บาคาร่า ออนไลน์

Wind said...

and when being used as an online slot game Of course, the bolt must be pulled in this section. used to play slotxo

ambbet said...

oday we have compiled the most popular online slots games that can make money. And most pgslot

Bell said...

Free credits that are distributed on the web to play. free credit slots Can it really be used to play slots? After playing, will I be able to withdraw money? superslot เครดิตฟรี

Unknown said...

Our website has many privileges that you can choose as you like, but must also comply with the conditions set forth by the website. superslot เครดิตฟรี

ตุ๊กตา said...

Slots or other online games because of investment Or invest in a spin where players will have a chance to get free spins. บาคาร่า

Hot889 said...

People who have little capital or can't handle the risks. So if you find I myself was one of those people. and want to start making profit ambbet

Onepiece said...

Importantly, the promotion here must be the best, not taking advantage of customers. pgslot

rj said...

Just 99 Web Design offers affordable web design packages for every business, from basic one-page websites to full eCommerce website design services. low cost website designing

Haider Khan said...

I am a professional web blogger so visit my website link is given below!To get more information
Plugin Boutique Scaler v Crack/

pluggintorrents said...

Nice information. Thanks for sharing content and such nice information for me. I hope you will share some more content about. Please keep sharing!
KMSPICO Activator Crack
Nitro Pro Enterprise Portable Crack
GridinSoft Anti-Malware Crack
Acoustica Mixcraft Premium Crack
Vaporizer Crack
Antares AutoTune Pro Crack
Wondershare Fotophire Photo Editor Crack
UAD Ultimate Bundle Crack
ZookaWare Pro Crack
SoundGrid Rack for VENUE Crack

harryjohn said...

download latest version of folder lock crack

Shikha Dhimaan said...

Cleaning Services in Jaipur, Cleaning Services in Rajasthan
Living Room Cleaning Services in Rajasthan
Family Area Cleaning Services in Rajasthan
Sofa Cleaning Services in Rajasthan

raju said...

Avantajlý ve kaliteli bir dünyaya Superbetin ile giriþ yapýn. süperbetin global ölçekte bahis ve casino hizmet veren bir þirkettir. Kullanýcýlar kaliteli bir hizmet sunmakta. Bahsedeceklerimizden ziyade sizlerde Superbetin giriþ yaparak hizmetleri görebilirsiniz. Makalemizde sizlere Superbetin güvenilir mi? Süperbetin giriþ bilgileri gibi konularda bahsedeceðiz. Ayrýca Superbetin kayýt ol sayesinde özel bonuslara ulaþýn. Sizlerde süperbetin sayesinde avantajlý bir bahis ve casino hizmeti ulaþýn.
Süperbetin sunduðu hizmetler hakkýnda detaylý bilgiler vereceðiz. Lakin öncelikle sitenin güvenilirliðinden bahsedelim. Ýlk olarak güvenilir olmayan bir site sektörde uzun yýllar hizmet veremez. Dolandýrýcý siteler zaten en fazla 3 ay hizmet verebilmiþtir. Superbetin ise sektörde 10 yýlý aþkýn zamandýr hizmet vermekte. Lisansýný bahis ve casino sektörünün en göze lisans kurumu olan çuraçao hükümetinden almýþtýr. Superbetin oyunlarý bahis ve casino oyunlarýndan saðladýklarý kazançlarýný sorun yaþamadan çekebilmekte.
Superbetin
Süperbetin giriþ yaparak sizlerde avantajlý bir bahis ve casino hizmetine ulaþabilirsiniz. Türkiye’deki kullanýcýlar güncel giriþ adresine sayfamýzda her zaman ulaþabilmekte. Avantajlý bir bahis ve casino hizmetine doðru siteyi tercih ederek ulaþýn. Hesabý olmayan kullanýcýlar Süperbetin kayýt iþlemini kolay bir þekilde yapabilmekte. Hiçbir ek belge göndermeden ve ayrýca kimlik bilgisi vermeden kolay bir þekilde hesabýnýzý oluþturun. Ayrýca yeni üyelere özel bonuslar bulunmakta. Deneme bonusu ve hoþgeldin bonusu yeni üyelere özeldir.
Süperbetin bahis bölümünde geniþ bir bahis bülteni canlý olarak iddaa oynayabilirsiniz. Ayrýca tek maç üzerinden canlý bahisler oynanabilmekte. Binlere farklý müsabakaya yüksek oranlardan canlý bahis oynayabileceðiniz bir hizmet sizleri beklemekte. Sadece spor bahisleri de deðil. E-sports bahisleri, sanal bahisleri gibi farklý bahis seçenekleri de bulunmakta.
Superbetin sayesinde gerçek bir casino hizmetine de ulaþabilirsiniz. Gerçek casino salonlarýndan canlý kurpiyerlerin sunumlarýyla 4K görüntü kalitesi üzerinden hizmet alýn. Canlý casino oyunlarý ve binlerce farklý slot oyunlarý sizleri beklemekte.
Süperbetin bahis ve casino oyunlarýndan saðladýðýnýz kazançlarýnýzý sorun yaþamadan çekebilirsiniz. Sonuç olarak istediðiniz finansal yöntem üzerinden para yatýrma ve çekme iþlemlerinizi kolay bir þekilde yapýn.
Sizlerde Süperbetin giriþ yaparak avantajlý bahis ve casino dünyasýna giriþ yapabilirsiniz.
Süperbetin kullanýcýlarý para yatýrma ve çekme iþlemlerinizi yapabilirsiniz. Sonuç olarak BTC, usdt gibi coinler üzerinden finansal iþlem sunan sitelerden birisidir.
Geniþ bir iddaa bülteni üzerinden binlerce farklý müsabakaya ayrýca yüksek oranlardan canlý iddaa oynayýn.
Gerçek casino salonlarýndan özel olarak bir hizmete ulaþýn. Canlý casino oyunlarý ve slot oyunlarý superbetin dünyasýnda sizleri beklemekte.

Aman_ullah said...

Crack Softwares
Very good website Which provides Crack Softwares. I really Like It.

millionck said...

Your post is most very informative.please keep it.
freemake video downloder crack
easyworship product key
adobe premiere patch

카지노 뉴스 정보 사이트 said...

. We were talking about the hurricane today and hope that you are doing well.토토사이트

Anonymous said...

This so informative article Your second sun-kissed home awaits! Minus any of the stress and “pre-move nerves”, thanks to Luke Stays holiday homes Property management and service accommodation apartment.

misbah said...

FL Studio Crack is a stunning and exceptional music producing app.

Digital Marketing said...

This article made me very delighted to read. Many thanks for the amazing information. Fantastic article. I value this article. medscape.com
medifind.com


Các mẫu nhà đẹp said...

kích thước cửa sổ chuẩn phong thủy

cửa nhựa lõi thép sparlee profile

thanh nhựa lõi thép

bản lề cửa window

tiêu chuẩn về khoan cấy thép

quy định chiều dài khoan cấy thép

Huongkv said...

đại lý vé Eva Air

đổi vé máy bay China Airlines

giá mua thêm hành lý Japan Airlines

Patrick Jones said...

150+ High DA PA Backlink List For SEO

Is Seo Dead in 2023

500+ Top Social Bookmarking Sites List

«Oldest ‹Older   201 – 289 of 289   Newer› Newest»