Road to A/B testing

Oleksii Vasyliev, Railsware

Road to A/B testing

Brought to you by Oleksii Vasyliev

Road to A/B testing

Oleksii Vasyliev

What is A/B testing?

SplitTesting

First reaction

Rails solutions

SplitTestingRails

Split

Variants

ab_test(:user_variations, 'new', 'old', 'strange')
ab_test(:homepage_design, {'Old' => 18}, {'New' => 2})
      

Conversion

ab_finished(:user_variations)

Split Web interface

gem 'split', require: 'split/dashboard'
mount Split::Dashboard, at: 'split'
SplitWebLook

Split Extensions

Demo for client

Small changes from client

Multivariate tests (MVT)

GoogleOptimizeMVT

Reaction

Ploblems

What about PaaS?

ABPaaS

PaaS pricing

Plans start at a minimum of $36,000 a year, for 200,000 visitors or more.

https://www.quora.com/How-much-is-optimizely

AB Tasty’s package starts at $1,000 per month

https://reviews.financesonline.com/p/ab-tasty/#pricing

Enterprise Pricing starts from $1,899/month

https://reviews.financesonline.com/p/omniconvert/#pricing

Me

GoogleOptimizePage

Google Optimize Integration

ga('create', 'UA-234234-1', 'auto');
ga('require', 'GTM-234234');
ga('send', 'pageview');

Google Optimize Integration

<style>.async-hide { opacity: 0 !important} </style>
<script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
(a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
})(window,document.documentElement,'async-hide','dataLayer',4000,
{'GTM-234234':true});</script>
GoogleOptimizeExperiment
GoogleOptimizeEditor
GoogleOptimizeRules
GoogleOptimizeDashboard
GoogleOptimizeDashboard

Google Optimize JS API

function implementExperimentA(value) {
    if (value === '2') {
      $( document ).ready(function() {
        $('#my_element').text('Hello from variant 2');
      })
    }
    }

    gtag('event', 'optimize.callback', {
      name: 'experiment_id_A',
      callback: implementExperimentA
    });

A/B test results

GoogleOptimizeMyResults
GoogleOptimizeMyResults2
GoogleOptimizeMyAnalytics

MVT setup

GoogleOptimizeMVTSections
GoogleOptimizeMVTDashboard

It is Free (with some limits)

Conclusion

<Thank You!> Questions?

Contact information

QuestionsSlide