A/B testing for Squarespace

No plugin to install: paste one script tag into your Squarespace site.

Split Test Pro runs on any website that lets you add a script tag to the page, including Squarespace sites on the Business plan or higher. Paste the snippet once, then build tests with Splitty, the AI test builder, and read Bayesian results.

  • 14-day free trial
  • No credit card required

Install Split Test Pro on Squarespace

  1. Create your account and workspace

    Sign up with your work email. There is no password: you sign in with a one-time code that Split Test Pro emails to you. Then create a workspace and fill in Workspace name and Site domain, the domain of your Squarespace site.

  2. Copy your snippet

    In Split Test Pro, open Settings → Script & API (only workspace owners can see it) and click the copy button beside the snippet. It looks like this:

    <script src="https://app.splittestpro.com/experiment.js" data-api-key="YOUR_API_KEY" data-api-url="https://app.splittestpro.com" crossorigin="anonymous"></script>

    Always copy the card's snippet rather than retyping the example: the card fills in your real key.

  3. Paste it into Squarespace

    Where it goes in Squarespace: Settings > Advanced > Code injection.

    Paste it inside <head>, before any other script.

  4. Check it's running

    Open your site, open your browser's DevTools on the Network tab and reload. Filter for experiment.js: a request to app.splittestpro.com returning 200 OK means the script is loading. Then open the Dashboard in Split Test Pro: its status box reads Site connected once Split Test Pro finds your snippet on your homepage.

Read the full install guide

What you can test on Squarespace

Variants are CSS or JavaScript that the script applies to your pages:

Conversions on Squarespace are the goals you define: a Page view goal when a visitor reaches a URL, or a JavaScript event your site fires with window.SplitTestPro.trackConversion(). Revenue, add-to-cart and purchase goals are automatic on Shopify only. See Conversion goals.

Good to know

Questions

Test your Squarespace site.
Start your free trial.

Try Split Test Pro free for 14 days — no credit card required.

  • No credit card
  • 14-day free trial