---
title: "A/B testing – Modal Kit Docs"
description: "Test a modal’s words, style or timing against up to three variants with Modal Kit Pro. Visitors are split in the browser, with no cookies."
language: "en-US"
canonical_url: "https://modalkitwp.com/docs/ab-testing/"
source_url: "https://modalkitwp.com/docs/ab-testing/"
content_type: "text/markdown"
---

Get started

[Install and set up](https://modalkitwp.com/docs/install/)

[Build your first modal](https://modalkitwp.com/docs/first-modal/)

[Defaults for new modals](https://modalkitwp.com/docs/defaults/)

[Who can do what](https://modalkitwp.com/docs/who-can-do-what/)

Opening and showing

[Choose when it opens](https://modalkitwp.com/docs/triggers/)

[Open it from a link or button](https://modalkitwp.com/docs/open-from-a-link/)

[Decide where and how often](https://modalkitwp.com/docs/display-rules/)

[Limits across all modals](https://modalkitwp.com/docs/limits/)

[Test what visitors see](https://modalkitwp.com/docs/test-what-visitors-see/)

Look and feel

[Styles](https://modalkitwp.com/docs/styles/)

[Accessibility](https://modalkitwp.com/docs/accessibility/)

[Video](https://modalkitwp.com/docs/video/)

[Move modals between sites](https://modalkitwp.com/docs/move-modals-between-sites/)

Pro and forms

[Activate Pro](https://modalkitwp.com/docs/activate-pro/)

[Add a form](https://modalkitwp.com/docs/forms/)

[Connect your email service](https://modalkitwp.com/docs/email-services/)

[Copy sign-ups to a webhook, and test](https://modalkitwp.com/docs/webhooks/)

[Keep bots out](https://modalkitwp.com/docs/bot-check/)

[Check deliveries](https://modalkitwp.com/docs/submissions/)

More in Pro

[Multi-step modals](https://modalkitwp.com/docs/multi-step/)

[Games and prizes](https://modalkitwp.com/docs/games/)

[WooCommerce](https://modalkitwp.com/docs/woocommerce/)

[Results and analytics](https://modalkitwp.com/docs/results/)

[A/B testing](https://modalkitwp.com/docs/ab-testing/)

[Audience rules](https://modalkitwp.com/docs/audience-rules/)

[Age gate, teasers and more blocks](https://modalkitwp.com/docs/more-pro-blocks/)

Speed and hosting

[Page caches and speed plugins](https://modalkitwp.com/docs/caching/)

[Static exports](https://modalkitwp.com/docs/static-exports/)

[Multisite networks](https://modalkitwp.com/docs/multisite/)

[Sites behind a proxy or CDN](https://modalkitwp.com/docs/proxies-and-cdns/)

Help

[Updates](https://modalkitwp.com/docs/updates/)

[A modal doesn’t show](https://modalkitwp.com/docs/troubleshooting/)

Contents ▾

Get started

[Install and set up](https://modalkitwp.com/docs/install/)

[Build your first modal](https://modalkitwp.com/docs/first-modal/)

[Defaults for new modals](https://modalkitwp.com/docs/defaults/)

[Who can do what](https://modalkitwp.com/docs/who-can-do-what/)

Opening and showing

[Choose when it opens](https://modalkitwp.com/docs/triggers/)

[Open it from a link or button](https://modalkitwp.com/docs/open-from-a-link/)

[Decide where and how often](https://modalkitwp.com/docs/display-rules/)

[Limits across all modals](https://modalkitwp.com/docs/limits/)

[Test what visitors see](https://modalkitwp.com/docs/test-what-visitors-see/)

Look and feel

[Styles](https://modalkitwp.com/docs/styles/)

[Accessibility](https://modalkitwp.com/docs/accessibility/)

[Video](https://modalkitwp.com/docs/video/)

[Move modals between sites](https://modalkitwp.com/docs/move-modals-between-sites/)

Pro and forms

[Activate Pro](https://modalkitwp.com/docs/activate-pro/)

[Add a form](https://modalkitwp.com/docs/forms/)

[Connect your email service](https://modalkitwp.com/docs/email-services/)

[Copy sign-ups to a webhook, and test](https://modalkitwp.com/docs/webhooks/)

[Keep bots out](https://modalkitwp.com/docs/bot-check/)

[Check deliveries](https://modalkitwp.com/docs/submissions/)

More in Pro

[Multi-step modals](https://modalkitwp.com/docs/multi-step/)

[Games and prizes](https://modalkitwp.com/docs/games/)

[WooCommerce](https://modalkitwp.com/docs/woocommerce/)

[Results and analytics](https://modalkitwp.com/docs/results/)

[A/B testing](https://modalkitwp.com/docs/ab-testing/)

[Audience rules](https://modalkitwp.com/docs/audience-rules/)

[Age gate, teasers and more blocks](https://modalkitwp.com/docs/more-pro-blocks/)

Speed and hosting

[Page caches and speed plugins](https://modalkitwp.com/docs/caching/)

[Static exports](https://modalkitwp.com/docs/static-exports/)

[Multisite networks](https://modalkitwp.com/docs/multisite/)

[Sites behind a proxy or CDN](https://modalkitwp.com/docs/proxies-and-cdns/)

Help

[Updates](https://modalkitwp.com/docs/updates/)

[A modal doesn’t show](https://modalkitwp.com/docs/troubleshooting/)

[Docs](https://modalkitwp.com/docs/) / More in Pro

PRO

# A/B testing

Test a modal’s words, style or timing against up to three variants. Visitors are split in the browser, so tests run on static exports too, and a winner is only called at the end.

![The Start an A/B test dialog in the editor: What will change (Content, Style, Timing), the Goal and the Traffic split slider.](https://modalkitwp.com/content/modules/modalkitwp-blocks/assets/docs/ab-testing.webp)




		+ Variant under the canvas opens this dialog.

-
1

Open the modal and choose **+ Variant** under the canvas. In **Start an A/B test**, pick what will change, the **Goal**, the **Traffic split**, how long to **Run for** (7, 14 or 28 days), the **Certainty needed** and what happens **When it ends**. **Create variant B** copies A.

-

2

Edit B on the canvas. Switch between variants with **A** and **B** under the canvas; while B is there, the bar says **Editing B only** and the modal has a dashed frame. Its words, style and trigger are its own: **Block → Styles** shows **Style · Variant B**, and picking a style, accent or fonts there changes B only (**Use A’s style** goes back). The layout, size, closing, overlay, colours and spacing are shared by every variant. In the **Modal Kit A/B Test** sidebar, give it a **Name** and, if you like, **Its own trigger**.

-

3

Publish the modal: the test starts. The **Modal Kit A/B Test** sidebar (its icon sits in the top bar, next to Settings) shows the split, what differs and the results so far, with **Pause test** and **End test without a winner**.

-

4

Read the results in **Modal Kit → A/B Tests**: shown, conversions, rate, the likely range and each variant’s chance of being the best, with a running-total chart and **Export CSV**.

-

5

When the test ends, the modal’s author gets an email. With a winner, choose **Apply B** (B becomes the modal’s only content; the version with every variant stays in its revisions) or **Keep A**. With no clear winner, **Run 7 more days** or keep the one you prefer.

-

6

Turn A/B tests on or off and change the defaults in **Settings → A/B Tests**: **Run A/B tests** (off: every modal shows A and nothing is counted per variant), **Variants per test**, **Default certainty needed** and **Conversions per variant before calling**.

Good to know

Editing a running test starts a new round: the clock restarts, and earlier totals stay on the A/B Tests page under **Before edit**.

Each visitor keeps their variant (in localStorage, no cookies). Search engines always see A, and so do logged-in users in the roles listed under **Always show A to** in Settings → A/B Tests (Administrator unless you change it).

On a static export there’s no site to count on: read the variants in your analytics tool (events carry `variant`), then enter the totals, or upload its CSV, on the A/B Tests page for the verdict.

## Still stuck? We’ll help.

[Get support](https://modalkitwp.com/support/)

[Read the FAQ](https://modalkitwp.com/faq/)
