forked from kissmetrics/km-support
-
Notifications
You must be signed in to change notification settings - Fork 0
/
a-b-testing.html
98 lines (73 loc) · 4.44 KB
/
a-b-testing.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
layout: post
title: "A/B Testing"
tags: []
permalink: /a-b-testing/
---
<p>A/B tests are statistical experiments that help you decide whether a change is actually making a significant impact on your product.</p>
<p>To give a real example for a SaaS product, let's say you want to test the difference between two welcome emails that get sent out when a customer signs up for a trial.</p>
<a name='example'> </a><h3>Example</h3>
<p>Here's how it could play out:</p>
<ol>
<li>For new trial signups going forward, give half of your customers a long, detailed welcome email, and give the other half a shorter welcome email.</li>
<li>Record which version they saw.</li>
<li>Record whether these people end up paying for the full version. <strong><em>This is the key performance metric you're trying to improve with the test.</em></strong> The test answers: "Did the email version influence more people to convert?"</li>
<li>Report on the results, comparing how the two conditions performed. Make sure enough people have run through the test to show that the results are actually due to the different emails, and not a result of chance.</li>
</ol>
<a name='what-every-a-b-test-needs'> </a><h2>What Every A/B Test Needs</h2>
<p>You can run an A/B test using KISSmetrics' JavaScript Library, or set up the test through a homebrew solution on your servers, or use a service like Optimizely, Visual Website Optimizer or Google Website Optimizer.</p>
<p>Regardless of how the test is run, <strong>every A/B test needs the same three things</strong>:</p>
<ol>
<li>Each visitor is <em>randomly assigned</em> to a variation, either A or B.</li>
<li>Make sure that the visitor <em>always sees either only A or only B</em>. Otherwise, your results are tainted if someone ends up seeing more than one variation.</li>
<li><em>Record which variation this visitor saw</em>, so that you can refer to it when checking the results of the A/B test.</li>
</ol>
<p>That covers the test itself. There's one last thing:</p>
<ul>
<li><em>Record the end goal that you are interested in</em>. Are you interested in increasing signups with this test? Measure Signups. Are you interested in whether people continue to return to your site? Measure the number of Site Visits.</li>
</ul>
<a name='i-get-it-how-do-i-get-started-with-running-a-test-'> </a><h2>I get it. How do I get started with running a test?</h2>
<p>The three articles below will help you pick the right solution for you, whether that's using the KISSmetrics JavaScript Library, or using another testing platform, or adding KISSmetrics to your in-house testing code.</p>
<a name='viewing-results'> </a><h2>Viewing Results</h2>
<p>If you've followed the articles below to get your test started, then whichever variation each visitor is assigned to will be saved to a KISSmetrics property. You can then segment any report by that property, perhaps like this funnel:</p>
<p><img src='https://kissmetrics-support-files.s3.amazonaws.com/assets/a-b-testing/ab-results.png' alt='A/B Results' /></p>
<ul class="summary">
<li>
<a href="/a-b-testing/using-km-js">
<h3>Using the JavaScript Library to Run an A/B Test</h3>
<p>The KISSmetrics JavaScript Library provides a JS function to help you set up the A/B test. It does the three things every A/B test needs, all in one fell swoop. However, it requires you to edit some JavaScript on your site, though. Read here for some examples.</p>
</a>
</li>
</ul>
<ul class="summary">
<li>
<a href="/a-b-testing/using-km-js/whole-page">
<h3>Tracking Whole Page A/B Tests</h3>
<p>Learn how to track two completely different page designs not just changes in individual elements.</p>
</a>
</li>
</ul>
<ul class="summary">
<li>
<a href="/a-b-testing/using-km-js/weighted-variants">
<h3>Using Weighted Variants</h3>
<p>Learn how to use weighted variants to more finely control experiments.</p>
</a>
</li>
</ul>
<ul class="summary">
<li>
<a href="/a-b-testing/server-side">
<h3>Using Your Own Server-Side Code</h3>
<p>If you already have existing server-side code that drives your A/B tests, here is how to pass your results into KISSmetrics.</p>
</a>
</li>
</ul>
<ul class="summary">
<li>
<a href="/a-b-testing/integration">
<h3>Using an A/B Testing Platform</h3>
<p>If you don't want to write any code, you can try a platform like Convert, Optimizely, Unbounce, or Visual Website Optimizer to set up the A/B test.</p>
</a>
</li>
</ul>