A/B testing on Vercel
Create and change tests from the AB Splits dashboard without redeploying. Add the script once, and every test after that is live the moment you press start.
Free plan · 1,000 visitors / month · no card
Set up in 3 steps
- 01Add the snippet to your framework's root layout or HTML template.
- 02Deploy once to Vercel.
- 03Create, start and stop tests from AB Splits. No more deploys needed.
Root layout / HTML head
<script src="https://absplits.com/s.js" data-key="YOUR_SITE_KEY"></script>Your real site key is shown in the dashboard after you add your site.
What to test on Vercel
All 56 examples →Lead with the outcome, not the product category
Default the pricing toggle to annual
Highlight the middle plan as 'Most popular'
Move customer logos above the fold
Answer the #1 objection above the plans
One hero button instead of two
AI writes variants
Choose a headline or button and AI reads your real page to write 3–5 alternatives, each with its reasoning.
Honest stats
Chance to beat the original, 95% intervals, and a plain keep-running or stop verdict. No p-value guesswork.
Results in GA4
Every tested visitor is tagged in GA4, so any report can be split by variant.
Questions
Do I need to redeploy to start a new test?+
No. Tests are configured in AB Splits and fetched by the snippet, so you can launch or stop a test without touching your code.
Will visitors see the original flash before the variant?+
The snippet is 8 KB (about 3.5 KB compressed) and hides the page for at most 0.8 seconds while it applies the variant. Returning visitors get their version from a local cache almost instantly.
A/B testing on other platforms