{"id":984,"date":"2026-05-04T09:00:00","date_gmt":"2026-05-04T14:00:00","guid":{"rendered":"https:\/\/dev.tolinku.com\/?p=984"},"modified":"2026-03-07T04:46:05","modified_gmt":"2026-03-07T09:46:05","slug":"onboarding-ab-testen","status":"publish","type":"post","link":"https:\/\/tolinku.com\/nl\/blog\/onboarding-ab-testing\/","title":{"rendered":"A\/B-testen van onboardingflows"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Onboarding intuition is unreliable. The flow that &quot;feels right&quot; to your team often isn&#39;t the one that performs best with real users. A\/B testing replaces guesswork with data: show different users different onboarding experiences, measure the results, and keep the winner.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For onboarding completion strategies, see <a href=\"https:\/\/tolinku.com\/blog\/onboarding-completion-rates\/\">Improving Onboarding Completion Rates<\/a>. For A\/B testing deep link destinations, see <a href=\"https:\/\/tolinku.com\/blog\/ab-testing-deep-link-destinations\/\">A\/B Testing Deep Link Destinations<\/a>. For the foundational experimentation framework, see <a href=\"https:\/\/tolinku.com\/blog\/ab-testing-onboarding-flows\/\">A\/B Testing Onboarding Flows<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What to Test<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">High-Impact Variables<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Variable<\/th>\n<th>Variants to Test<\/th>\n<th>Primary Metric<\/th>\n<\/tr>\n<\/thead>\n<tbody><tr>\n<td>Number of steps<\/td>\n<td>3 vs. 5 vs. 7 steps<\/td>\n<td>Completion rate<\/td>\n<\/tr>\n<tr>\n<td>Signup method<\/td>\n<td>Email-first vs. social-first<\/td>\n<td>Signup conversion<\/td>\n<\/tr>\n<tr>\n<td>Permissions timing<\/td>\n<td>Upfront vs. contextual<\/td>\n<td>Permission grant rate<\/td>\n<\/tr>\n<tr>\n<td>Feature tour<\/td>\n<td>With tour vs. without tour<\/td>\n<td>Day 7 retention<\/td>\n<\/tr>\n<tr>\n<td>Welcome screen copy<\/td>\n<td>Benefit-focused vs. feature-focused<\/td>\n<td>Tap-through rate<\/td>\n<\/tr>\n<tr>\n<td>Progress indicator<\/td>\n<td>Progress bar vs. step dots vs. none<\/td>\n<td>Completion rate<\/td>\n<\/tr>\n<tr>\n<td>First action prompt<\/td>\n<td>Guided vs. open-ended<\/td>\n<td>Activation rate<\/td>\n<\/tr>\n<tr>\n<td>Personalization<\/td>\n<td>Generic vs. source-based<\/td>\n<td>Completion + retention<\/td>\n<\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Low-Impact Variables (Skip These)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Button color on the welcome screen<\/li>\n<li>Exact font size of onboarding text<\/li>\n<li>Animation style between steps<\/li>\n<li>Icon design for feature tour<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Focus on structural changes (step count, order, content) rather than cosmetic ones.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Experiment Architecture<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Assignment<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Assign users to variants on first launch and persist the assignment:<\/p>\n\n\n\n<pre><code class=\"language-javascript\">function assignOnboardingVariant(userId, experimentId) {\n  \/\/ Check for existing assignment\n  const existing = getExperimentAssignment(userId, experimentId);\n  if (existing) return existing;\n\n  \/\/ Assign based on user ID hash for consistency\n  const hash = hashString(`${userId}-${experimentId}`);\n  const variantIndex = hash % getVariantCount(experimentId);\n  const variant = getVariantByIndex(experimentId, variantIndex);\n\n  saveAssignment(userId, experimentId, variant);\n\n  analytics.track(&#39;experiment_assigned&#39;, {\n    experimentId,\n    variant: variant.id,\n    userId,\n  });\n\n  return variant;\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Important: use a deterministic hash, not <code>Math.random()<\/code>. The same user should always see the same variant, even across sessions and reinstalls.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Variant Configuration<\/h3>\n\n\n\n<pre><code class=\"language-javascript\">const experiments = {\n  onboarding_steps_v3: {\n    id: &#39;onboarding_steps_v3&#39;,\n    variants: [\n      {\n        id: &#39;control&#39;,\n        weight: 50, \/\/ 50% of users\n        config: { steps: [&#39;welcome&#39;, &#39;signup&#39;, &#39;profile&#39;, &#39;permissions&#39;, &#39;tour&#39;, &#39;first_action&#39;] },\n      },\n      {\n        id: &#39;short&#39;,\n        weight: 50,\n        config: { steps: [&#39;welcome&#39;, &#39;signup&#39;, &#39;first_action&#39;] },\n      },\n    ],\n    primaryMetric: &#39;onboarding_completed&#39;,\n    secondaryMetrics: [&#39;day_7_retention&#39;, &#39;first_purchase&#39;],\n    minSampleSize: 1000, \/\/ Per variant\n    startDate: &#39;2026-05-04&#39;,\n  },\n};\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Rendering the Flow<\/h3>\n\n\n\n<pre><code class=\"language-javascript\">function OnboardingFlow({ userId }) {\n  const variant = assignOnboardingVariant(userId, &#39;onboarding_steps_v3&#39;);\n  const steps = variant.config.steps;\n\n  const [currentStep, setCurrentStep] = useState(0);\n\n  const stepComponents = {\n    welcome: &lt;WelcomeScreen \/&gt;,\n    signup: &lt;SignupScreen \/&gt;,\n    profile: &lt;ProfileScreen \/&gt;,\n    permissions: &lt;PermissionsScreen \/&gt;,\n    tour: &lt;FeatureTour \/&gt;,\n    first_action: &lt;FirstActionPrompt \/&gt;,\n  };\n\n  return (\n    &lt;View&gt;\n      &lt;ProgressBar current={currentStep} total={steps.length} \/&gt;\n      {stepComponents[steps[currentStep]]}\n      &lt;NextButton\n        onPress={() =&gt; {\n          trackStep(steps[currentStep], variant.id);\n          if (currentStep &lt; steps.length - 1) {\n            setCurrentStep(currentStep + 1);\n          } else {\n            completeOnboarding(variant.id);\n          }\n        }}\n      \/&gt;\n    &lt;\/View&gt;\n  );\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Event Tracking<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Required Events<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Every experiment needs consistent event tracking across all variants:<\/p>\n\n\n\n<pre><code class=\"language-javascript\">function trackStep(step, variantId) {\n  analytics.track(&#39;onboarding_step_completed&#39;, {\n    step,\n    variantId,\n    experimentId: &#39;onboarding_steps_v3&#39;,\n    timestamp: Date.now(),\n    sessionDuration: getSessionDuration(),\n  });\n}\n\nfunction completeOnboarding(variantId) {\n  analytics.track(&#39;onboarding_completed&#39;, {\n    variantId,\n    experimentId: &#39;onboarding_steps_v3&#39;,\n    totalTime: getOnboardingDuration(),\n    stepsCompleted: getCurrentStepIndex() + 1,\n  });\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Downstream Metrics<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Track what happens after onboarding to measure long-term impact. For a comprehensive analytics setup, see <a href=\"https:\/\/tolinku.com\/blog\/onboarding-analytics\/\">Onboarding Analytics: Measuring Activation Success<\/a>.<\/p>\n\n\n\n<pre><code class=\"language-javascript\">\/\/ Track these for each variant over 7, 14, 30 days\nconst downstreamMetrics = [\n  &#39;day_1_retention&#39;,\n  &#39;day_7_retention&#39;,\n  &#39;day_30_retention&#39;,\n  &#39;first_purchase_within_7_days&#39;,\n  &#39;feature_adoption_count&#39;,\n  &#39;support_ticket_created&#39;,\n  &#39;app_uninstall_within_7_days&#39;,\n];\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A shorter onboarding might have a higher completion rate but lower retention if users missed important context. Always measure downstream.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Statistical Rigor<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Sample Size<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Calculate the required sample size before starting the experiment:<\/p>\n\n\n\n<pre><code class=\"language-javascript\">function calculateSampleSize(baselineRate, minimumDetectableEffect, power, significance) {\n  \/\/ baselineRate: current completion rate (e.g., 0.45)\n  \/\/ minimumDetectableEffect: smallest change you care about (e.g., 0.05 for 5%)\n  \/\/ power: 0.80 (standard)\n  \/\/ significance: 0.05 (standard)\n\n  const p1 = baselineRate;\n  const p2 = baselineRate + minimumDetectableEffect;\n  const zAlpha = 1.96; \/\/ For significance = 0.05\n  const zBeta = 0.84; \/\/ For power = 0.80\n\n  const n = Math.ceil(\n    Math.pow(zAlpha * Math.sqrt(2 * p1 * (1 - p1)) + zBeta * Math.sqrt(p1 * (1 - p1) + p2 * (1 - p2)), 2)\n    \/ Math.pow(p2 - p1, 2)\n  );\n\n  return n; \/\/ Per variant\n}\n\n\/\/ Example: 45% baseline, detect 5% lift, 80% power, 95% significance\n\/\/ calculateSampleSize(0.45, 0.05, 0.80, 0.05) \u2248 1,570 per variant\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">When to Stop<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Don&#39;t peek at results daily and declare a winner as soon as one variant looks better. Premature stopping inflates false positive rates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Rules for stopping:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Run until each variant reaches the pre-calculated sample size<\/li>\n<li>Or run for a minimum of 2 full weeks (to account for day-of-week effects)<\/li>\n<li>Only then evaluate statistical significance<\/li>\n<\/ol>\n\n\n\n<pre><code class=\"language-javascript\">function canEvaluateExperiment(experiment) {\n  const variants = getVariantResults(experiment.id);\n  const minSize = experiment.minSampleSize;\n  const minDays = 14;\n\n  const daysSinceStart = daysBetween(experiment.startDate, new Date());\n  const allVariantsReachedSize = variants.every(v =&gt; v.sampleSize &gt;= minSize);\n\n  return daysSinceStart &gt;= minDays &amp;&amp; allVariantsReachedSize;\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Testing with Deep Link Segments<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Test Different Flows by Source<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Users from different acquisition sources may respond differently to onboarding variants:<\/p>\n\n\n\n<pre><code class=\"language-javascript\">function assignVariantBySource(userId, source) {\n  \/\/ Run separate experiments per source\n  const experimentId = `onboarding_${source}_v1`;\n\n  return assignOnboardingVariant(userId, experimentId);\n}\n\n\/\/ Referral users might perform better with abbreviated onboarding\n\/\/ Ad users might need more education\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Using Deep Link Data in Experiments<\/h3>\n\n\n\n<pre><code class=\"language-javascript\">async function setupExperiment(userId) {\n  const deferred = await Tolinku.checkDeferredLink();\n\n  const segments = {\n    hasReferral: deferred &amp;&amp; deferred.params.ref ? true : false,\n    hasCampaign: deferred &amp;&amp; deferred.params.utm_campaign ? true : false,\n    source: deferred ? deferred.params.utm_source || &#39;deep_link&#39; : &#39;organic&#39;,\n  };\n\n  \/\/ Different experiments for different segments\n  if (segments.hasReferral) {\n    return assignOnboardingVariant(userId, &#39;referral_onboarding_v2&#39;);\n  }\n\n  if (segments.hasCampaign) {\n    return assignOnboardingVariant(userId, &#39;campaign_onboarding_v1&#39;);\n  }\n\n  return assignOnboardingVariant(userId, &#39;organic_onboarding_v3&#39;);\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Common Experiments and Results<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Experiment 1: Step Count<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Variant<\/th>\n<th>Steps<\/th>\n<th>Completion Rate<\/th>\n<th>Day 7 Retention<\/th>\n<\/tr>\n<\/thead>\n<tbody><tr>\n<td>Control (6 steps)<\/td>\n<td>6<\/td>\n<td>42%<\/td>\n<td>28%<\/td>\n<\/tr>\n<tr>\n<td>Short (3 steps)<\/td>\n<td>3<\/td>\n<td>61%<\/td>\n<td>31%<\/td>\n<\/tr>\n<tr>\n<td>Minimal (2 steps)<\/td>\n<td>2<\/td>\n<td>68%<\/td>\n<td>24%<\/td>\n<\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Result: 3 steps wins. 2 steps has the highest completion but lower retention because users missed essential context.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Experiment 2: Signup Method Priority<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Variant<\/th>\n<th>Primary Method<\/th>\n<th>Signup Rate<\/th>\n<th>Time to Sign Up<\/th>\n<\/tr>\n<\/thead>\n<tbody><tr>\n<td>Email first<\/td>\n<td>Email\/password form<\/td>\n<td>48%<\/td>\n<td>52s<\/td>\n<\/tr>\n<tr>\n<td>Social first<\/td>\n<td>Google + Apple buttons<\/td>\n<td>63%<\/td>\n<td>12s<\/td>\n<\/tr>\n<tr>\n<td>Choice<\/td>\n<td>All options equally<\/td>\n<td>55%<\/td>\n<td>28s<\/td>\n<\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Result: Social login first wins for both conversion and speed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Experiment 3: Permission Timing<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Variant<\/th>\n<th>When Permissions Asked<\/th>\n<th>Grant Rate<\/th>\n<th>Completion Rate<\/th>\n<\/tr>\n<\/thead>\n<tbody><tr>\n<td>Upfront<\/td>\n<td>Step 2 of onboarding<\/td>\n<td>35%<\/td>\n<td>44%<\/td>\n<\/tr>\n<tr>\n<td>Contextual<\/td>\n<td>When feature is used<\/td>\n<td>62%<\/td>\n<td>58%<\/td>\n<\/tr>\n<tr>\n<td>Pre-prompt<\/td>\n<td>Explain, then ask<\/td>\n<td>51%<\/td>\n<td>52%<\/td>\n<\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Result: Contextual wins for both grant rates and completion rates.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Avoiding Common Mistakes<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Testing Too Many Things at Once<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Change one variable per experiment. If you change the step count AND the copy AND the layout, you won&#39;t know which change caused the result.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Not Segmenting Results<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Overall results can hide important segment differences. A variant that works well for organic users might hurt referral users. Always break down results by acquisition source, platform, and geography.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Optimizing for the Wrong Metric<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Completion rate is easy to measure but isn&#39;t always the right primary metric. A flow that maximizes completion but produces users who churn after 3 days is worse than one with lower completion but higher retention.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Choose your primary metric based on business value:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Early-stage app: Activation (user performs core action)<\/li>\n<li>Growth-stage app: Day 7 retention<\/li>\n<li>Monetized app: Revenue per user (Day 30)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For A\/B testing features, see <a href=\"https:\/\/tolinku.com\/features\/ab-testing\">Tolinku A\/B testing<\/a>. For onboarding use cases, see the <a href=\"https:\/\/tolinku.com\/docs\/use-cases\/onboarding\/\">onboarding documentation<\/a>. For A\/B testing setup, see the <a href=\"https:\/\/tolinku.com\/docs\/user-guide\/ab-testing\/\">A\/B testing docs<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Voer gecontroleerde experimenten uit op je onboarding. Test de volgorde van stappen, de teksten, het moment van toestemmingsvragen en de lengte van de flow om te zien wat de meeste mensen laat doorzetten.<\/p>","protected":false},"author":2,"featured_media":3351,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"A\/B Testing Onboarding Flows","rank_math_description":"Run controlled experiments on your onboarding flow. Test step order, copy, permissions timing, and flow length to find what drives the highest completion.","rank_math_focus_keyword":"onboarding A\/B testing","rank_math_canonical_url":"","rank_math_facebook_title":"","rank_math_facebook_description":"","rank_math_facebook_image":"https:\/\/tolinku.com\/wp-content\/uploads\/2026\/03\/og-onboarding-ab-testing.png","rank_math_facebook_image_id":"983","rank_math_twitter_title":"","rank_math_twitter_description":"","rank_math_twitter_image":"https:\/\/tolinku.com\/wp-content\/uploads\/2026\/03\/og-onboarding-ab-testing.png","footnotes":""},"categories":[18],"tags":[60,37,191,20,225,69,27,33],"class_list":["post-984","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-use-cases","tag-ab-testing","tag-analytics","tag-conversions","tag-deep-linking","tag-experimentation","tag-mobile-development","tag-onboarding","tag-user-experience"],"_links":{"self":[{"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/posts\/984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/comments?post=984"}],"version-history":[{"count":4,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/posts\/984\/revisions"}],"predecessor-version":[{"id":2821,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/posts\/984\/revisions\/2821"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/media\/3351"}],"wp:attachment":[{"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/media?parent=984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/categories?post=984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tolinku.com\/nl\/wp-json\/wp\/v2\/tags?post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}