Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A/B Tests with React

A/B Tests with React

Split testing allows us to compare variants – typically an original and a proposed change – via a controlled experiment, in order to see how changes affect user behavior with regard to an outcome of interest.

In this talk, we will describe how we perform A/B-testing with an isomorphic React application, and how we can learn from it.

=====================================================
Follow us and join our Slack community:

- ReactJS Norway's site: http://bit.ly/2ka4hC8
- Facebook: http://bit.ly/2kxmHxW
- Instagram: http://bit.ly/2kpysnJ
- Twitter: http://bit.ly/2kaehvl
- Youtube: http://bit.ly/2kANuJl
- Slack Community: https://goo.gl/YwUUKJ

Sponsored by Stooic Labs (http://bit.ly/2oTE4dF)
Organizer: Domenico Solazzo (http://bit.ly/2jRxj8j)

ReactJS Norway

December 20, 2017
Tweet

More Decks by ReactJS Norway

Other Decks in Programming

Transcript

  1. o Introduction o MatSans • About the project • The

    stack • Hypothesis- and goal-driven development/Workflow o Story-time o What is A/B testing? • react-ab-test (library) ▪ Isomorphism o Evaluation • Measurements (GA: scrolling and events…) • Interpreting the numbers o Practical demonstration Outline
  2. o MatSans is a recipe focused application o Runs on

    Google Cloud Platform o Isomorphic o Built with React and Relay in front o GraphQL as data query language o Uses ElasticSearch to hold our content o Enonic CMS to publish content o Hypothesis- and goal-driven development/Workflow MatSans
  3. o Tactical goal o Action What? o Hypothesis Why? o

    Measurement How? o Estimated effect MatSans
  4. Usual steps: • Have an idea or supposition about our

    solution • Verify or falsify the hypothesis via experiment(s) ◦ Collect various measurements What is A/B testing?
  5. Why? It’s normal to be wrong. Measuring how our development

    impacts our users makes us able to make decisions based on facts! What is A/B-testing?
  6. ” The only true wisdom is in knowing you know

    nothing. Socrates - allegedly... • Be skeptical • Don’t measure too much • Have a good basis for comparison
  7. o Google Analytics API o Scroll and time tracking o

    Event tracking o Tracking the correct event o Follow a standard o Write documentation o Less is more(ish) o Evaluating the numbers Evaluation
  8. o A good grounds for comparison o Avoid noise in

    your data o Supplement qualitatively... "Lies, damned lies, and statistics" Evaluation
  9. Let’s see how we can perform A/B-testing in practice: look

    at code and run it in the browser. https://github.com/eivind88/ab-testing-react-meetup/tree/mast er Demo
  10. o It is not as complicated as it might seem

    • The thought process is more the half the job o Keep it simple and structured • Follow a standard and write documentation o Keep your experiments limited o You don’t know it if you haven’t proven it [email protected] [email protected] In summary