Screencast: A/B Tests mit A/Bingo

A/B Tests oder Split-Tests werden verwendet um die Akzeptanz einer Applikation in zwei verschiedenen Ausprägungen zu prüfen. In dem heutigen Screencast wird dazu A/Bingo vorgestellt und vorgeführt wie es dazu verwendet werden kann.

 

Download:

Download(35.1 MB, 11:04)
Alternativer Downloadfür iPod & Apple TV(27.6 MB, 11:04)

 

Resourcen:

 

Quellcode:

script/plugin install git://git.bingocardcreator.com/abingo.git
script/generate abingo_migration
rake db:migrate
script/generate controller abingo_dashboard
script/plugin install --force git://github.com/ryanb/abingo.git
# users_controller.rb
bingo! "signup_intro"
bingo! "signup_title"
# or
bingo! "signup"

# application_controller.rb
before_filter :set_abingo_identity

private

def set_abingo_identity
  if request.user_agent =~ /\b(Baidu|Gigabot|Googlebot|libwww-perl|lwp-trivial|msnbot|SiteUptime|Slurp|WordPress|ZIBB|ZyBorg)\b/i
    Abingo.identity = "robot"
  elsif current_user
    Abingo.identity = current_user.id
  else
    session[:abingo_identity] ||= rand(10 ** 10)
    Abingo.identity = session[:abingo_identity]
  end
end

# abingo_dashboard_controller.rb
class AbingoDashboardController < ApplicationController
  # TODO add some authorization
  include Abingo::Controller::Dashboard
end

# routes.rb
map.abingo_dashboard "/abingo/:action/:id", :controller=> :abingo_dashboard
<% ab_test("signup_title", ["Sign up", "Registration", "Free Sign up"], :conversion => "signup") do |signup_title| %>
  <% title "Free Sign up" %>
<% end %>

<% if ab_test "signup_intro", nil, :conversion => "signup" %>
  <p>...</p>
<% end %>

Eingestellt am 17.05.2010 um 11:08

Kategorie: Tutorials

Speichern / Merken / Weitersagen:
  • Print
  • PDF
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • LinkedIn
  • Live
  • MisterWong.DE
  • MisterWong
  • MySpace
  • Netvibes
  • Reddit
  • Technorati
  • Tumblr
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg
  • Slashdot
  • Twitter
  • Twitthis

Ein Kommentar zu “Screencast: A/B Tests mit A/Bingo”

Mave Rick   schrieb:

Hi, last few days I was looking this exact article, thank you very much and keep writing.

Suchen auf rubyonrails.de

Aktuelle Artikel

Artikel Archiv

Aktuelle Rails Version + Abhängigkeiten:

Gem rails-3.0.0
actionmailer (= 3.0.0, runtime)
actionpack (= 3.0.0, runtime)
activerecord (= 3.0.0, runtime)
activeresource (= 3.0.0, runtime)
activesupport (= 3.0.0, runtime)
bundler (~> 1.0.0, runtime)
railties (= 3.0.0, runtime)

Rails auf Rubyforge
Rails auf Github