Search for articles…
Run your first test in three steps
This guide takes you from a fresh workspace to a live A/B test. It works on any website where you can add code to the page <head>.
1. Add the snippet to your site
In Splitlab, open Websites from the sidebar and select your website. If it isn’t there yet, click Add new and add it.
In the Install Smart Code panel, choose the tab for your platform: HTML, Next.js, Wordpress, Shopify, Wix or ClickFunnels. Each tab shows the steps for that platform.
Leave Include anti-flicker script switched on, then click Copy. The snippet already contains your project key.
Paste it into the <head> of every page you want to test, as high up as you can, and publish your site.
Platform-specific guides: any website, ClickFunnels, WordPress, and Shopify, Wix, Google Tag Manager and Next.js.
2. Create your test
Open A/B Test in the sidebar (or Multivariate Test to test several sections at once) and create a new test.
On the Configuration tab, set the page the test runs on.
Add at least one variation. The visual editor opens in a separate tab, where you can change headlines, copy, styles and layout without writing code. Save your changes there.
Add at least one metric, such as a page visit on your thank-you page or a purchase.
Choose who sees the test and how traffic is split between variations: Equal, Custom or Multi Arm Bandit.
3. Start the test and check it’s live
Click Start Test. Splitlab won’t start a test until it has at least one variant and at least one metric.
Back on Websites, enter your page URL under Check if Smartcode is installed properly and click Check. Splitlab opens your page in a new tab and waits for the engine to report in. The panel then shows SmartCode is installed.
Visit your page in a private window. You’re placed in a variant, and conversions start appearing in your reports as they happen.
4. Track revenue (optional)
If you sell through ClickFunnels, HighLevel, WooCommerce or SamCart, connect it under Integrations so orders are credited to the variant each buyer saw. See Why does revenue show as Unattributed? for the one field most setups need.
Prefer the developer version? Read the Quickstart.
5. Still stuck?
Test not showing on your page? Get in touch through our contact page or email team@splitlab.io and tell us which page or integration you’re working on.
Related articles
Still stuck?
Email team@splitlab.io or send us a message.
Contact us