A/B Testing & Optimization Guide
A complete guide on how to set up, run, and automate A/B testing campaigns. Learn to create content variants using the visual editor, target specific audiences to avoid data pollution, and use AI to automatically deploy winning versions for maximum conversion.
Start NowA/B Testing Playbook
Personyze A/B Testing allows you to optimize your website and email campaigns by comparing different variations of content against a control group. Select the "A/B Testing" wizard to begin.
Prerequisites
To run successful tests, ensure the following are in place:
- Tracking Code: You must have the Personyze JavaScript tracking code installed on your site (client-side) OR use the Personyze SDK (server-side).
- Conversion Goals: It is highly recommended to define specific Goals (e.g., "Purchase", "Lead Form", "Time on Site > 2m") in your account. Without these, you cannot accurately measure the winner.
- E-Commerce: Testing "Free Shipping" banners vs. "10% Discount".
- Content: Testing Video Hero sections vs. Static Image Headers.
- Layout: Testing simplified Checkout pages (Navigation removed) vs. Standard.
Workflow Summary
- Target: Define the audience rules (Who sees the test).
- Variations: Create Variant A, Variant B, etc., using the visual editor.
- Rotation: Set traffic allocation (e.g., 50/50) and rotation method (User vs. Session).
- Auto-Deploy: Configure rules to automatically promote the winning variation.
- Analyze: Monitor the Dashboard for KPIs and statistical significance.
Audience Targeting
The first step in the wizard is defining Inclusion and Exclusion rules.
Best Practices
- Avoid Pollution: If you are testing a "Free Shipping to California" banner, you must exclude non-California visitors from the test population. Including them would dilute your results because the banner is irrelevant to them.
- Expedite Results: By narrowing the audience to high-intent users (e.g., "Visited Pricing Page"), you reach statistical significance faster than testing on all traffic.
Creating Variants (Content Actions)
Define what changes in each variation. You can have an unlimited number of variant groups.
Visual Editor Capabilities
Use the "Page Live Editor" to modify the site look and feel without coding:
- Edit Content: Change headlines, images, or CTA button colors.
- Insert Widgets: Add a popup, inline banner, countdown timer, or lead form.
- Social Proof: Inject "50 people viewed this" badges.
- Complex Variants: A single variant group can contain multiple actions (e.g., "Change Hero Image" AND "Show Popup").
You can test these variants against a Control Group (the original site version) to measure pure uplift.
Rotation & Auto-Deployment
Control how users are split between groups and how the winner is selected.
Rotation Methods
- Rotate Users (Sticky): The user remains in Group A across all visits. Best for consistent UX.
- Rotate Sessions: The user might see Group A today and Group B tomorrow.
- Control Users: A powerful feature that synchronizes rotation across multiple campaigns. If a user is in "Group A" for your Email Test, they will also be in "Group A" for the Landing Page test, ensuring a unified cross-channel experience.
Automated Deployment (Smart Traffic)
You can set Personyze to automatically declare a winner and shift traffic.
- Level of Assurance: Set statistical significance threshold (e.g., 95%).
- Min Sessions: Minimum traffic volume before a decision (e.g., 1000 sessions).
- Action: "Allocate traffic to the winner."
Pro Tip: You can leave 5% of traffic assigned to the "Loser" group to constantly verify that the Winner is still outperforming over time.
Performance Dashboard
Analyze results with deep segmentation. Reports update approximately one hour after sessions end.
Key Features
- Time Frame: Select a fixed date range or "From Last Edit" to see impact since the last change.
- Metrics: Time on Site, Bounce Rate, Clicks, and specific Goal Conversions (e.g., Checkout Success).
- Drill Down: Break down performance by City, Device, Referrer, or specific Content Item within a variant.
Statistical Significance (Example)
16.139% audience average conversion rate.
86% sure that Control group is better than Rotation group A.
Estimated time to reach statistical significance level of 95%: 13 days.
Example: Checkout Optimization
Goal: Increase the "Checkout Success" rate by reducing distractions.
Setup
- Target: Visitors with > $100 in Cart.
- Control Group: Standard Checkout page with full header navigation.
- Variant A (The Challenger): Standard page but with Navigation Links Hidden (CSS edit) and a "Free Shipping Unlocked" banner added.
Results
After 2,000 sessions:
- Control: 5.23% Conversion.
- Variant A: 6.17% Conversion.
- Outcome: Dashboard shows "95% Confidence." Auto-deployment shifts 90% of traffic to Variant A.
Example: Homepage Hero Test
Goal: Increase engagement (Time on Site) and Sign-ups.
Setup
- Target: All new visitors.
- Control Group: Generic Headline: "Welcome to Our Platform."
- Variant A: Benefit-driven Headline: "Boost Your Revenue by 20%."
- Variant B: Video Hero: Replaces static image with an explainer video.
Results
- Variant A: High Click-Through Rate but high Bounce Rate.
- Variant B: Lower Click-Through but Time on Site increased by 3m 39s.
- Analysis: Using the Drill-Down report, you see Variant B performed best on Desktop, while Variant A was better on Mobile. You adjust targeting to serve specific variants by device.
Frequently Asked Questions
Why must I select a target audience before creating variants?
What exactly can I test with Personyze?
How does "Auto-Deployment" work?
What is "Control Users" rotation?
Do I need a developer to create variants?
What metrics are available in the dashboard?
Can I leave a small percentage of traffic on the "Loser"?
What is Statistical Significance and how long does it take?
Time Estimate: The dashboard calculates exactly how long the test needs to run based on your current traffic. You will see a metric like: "Estimated time to reach statistical significance level of 95%: 13 days." This helps you plan your campaign duration effectively.