A/B Testing
usertrax combines A/B testing and conversion tracking in one stack: the tracker serves variants, assignments stay stable for the session, and every conversion automatically includes the test context.
You can test CSS, JavaScript, and HTML variants and measure impact against real conversion goals — without a separate experiment tool and without cookies.
What the system can do
Section titled “What the system can do”- Serve different website variants (CSS, JS, HTML visibility)
- Persist assignments per session and attach them to conversions
- Control traffic by test key, URL, and time window
- Evaluate results in the dashboard with lift, p-value, and significance
When to use A/B testing — when conversion tracking alone is enough
Section titled “When to use A/B testing — when conversion tracking alone is enough”| Situation | Recommendation |
|---|---|
| You want to measure which variant converts better | A/B testing + conversion tracking |
| You only need events, attribution, and ads export | Conversion Tracking is enough |
| You do not have a tracking script yet | Start with Quick Start, then add an A/B test |
Topics in this section
Section titled “Topics in this section”Getting startedIn about 10 minutes: domain, script, first live test, and auto-init.
Creating testsDashboard steps, variants, traffic split, primary goal, and targeting.
HTML variantsShow and hide elements with data attributes — no custom JS required.
JavaScript APIgetVariant, getAssignments, and conditional logic in your own code.
Analytics & evaluationMetrics, significance, FAQ, and decision steps.
Best practicesHypothesis → KPI → runtime, SEO, and avoiding flicker.
TroubleshootingFlicker, sticky assignment, SPA routing, and common pitfalls.