Squarespace A/B testing
Squarespace doesn't include A/B testing. Add AB Splits through code injection and test any page's headline, buttons and copy.
Free plan · 1,000 visitors / month · no card
Set up in 3 steps
- 01Open your site's Code Injection settings.
- 02Paste the snippet into the Header field and save.
- 03Click Check install in AB Splits, then create your first test.
Code Injection → Header
<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.
- Code injection is only available on some Squarespace plans.
What to test on Squarespace
All 56 examples →Lead with the outcome, not the product category
Say what happens next on the button
Feature a one-line case study in the hero
Click-to-call button instead of a contact form
Swap a generic testimonial for one with a result
Lifestyle photo vs product-only shot as the first image
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
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.
Will A/B testing hurt my SEO?+
No, not when it's done properly. AB Splits shows each human visitor one version, and search bots and crawlers always see your original page. Tests on separate URLs keep your canonical tags, so ranking signals stay on the original page. End tests when you have a result and ship the winner.
A/B testing on other platforms