# A/B Testing for WordPress

> Show half your visitors a different headline, button text or section, count conversions, and see the winner with a confidence score. Part of Toggleworks, one…

TW-MKT-01 Marketing


Show half your visitors a different headline, button text or section, count conversions, and see the winner with a confidence score.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

A/B Testing

**Part number**
: TW-MKT-01
**Section**
: [Marketing](https://togglework.app/features/marketing/)
**Settings**
: Own screen
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

Opinions about headlines and button text are cheap; data is better. Showing half your visitors a different version and counting conversions settles it.

### What it does

- Shows half your visitors a different headline, button text or section, with a shortcode around the two versions.
- Counts a conversion as a click on an element you name, a Toggleworks form submission or a WooCommerce order.
- Shows the winner with a confidence score.

![A/B Testing settings screen in the Toggleworks WordPress plugin](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/marketing-ab-testing.webp?v=1795524198)

The A/B Testing screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Pick one element with a clear goal, such as the main call-to-action button.
2. Wrap the two versions in the shortcode, e.g. `[toggleworks_ab test="hero" goal=".cta-button"]Version A||Version B[/toggleworks_ab]`.
3. Wait until the confidence score is high before deciding.

## How you use it

Switch A/B Testing on in Toggleworks → Marketing and it adds its own screen to wp-admin, where you do the work. There are no settings to get wrong first.

## Good to know

- Test one change at a time, and let low-traffic tests run for weeks, not days.

## Comes with 187 more parts

A/B Testing is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 9 Marketing parts](https://togglework.app/features/marketing/)

### People also look for it as

- ab test
- split test
- experiment
- conversion
- cro
- headline test

## Often switched on with it

- [Sticky Add to Cart](https://togglework.app/features/woocommerce/sticky-cart/) — TW-WOO-28 · Keep the product name, price and Add to cart button within reach: a slim bar appears once the shopper scrolls past the main… · 2 settings
- [Form Inbox](https://togglework.app/features/marketing/form-inbox/) — TW-MKT-04 · Every form submission in one inbox, whichever form plugin made the form: Contact Form 7, Fluent Forms, WPForms, Gravity Forms… · 3 settings
- [Forms](https://togglework.app/features/marketing/forms/) — TW-MKT-05 · Build contact, quote and signup forms with spam protection, email notifications and a searchable list of entries — no extra… · Own screen in wp-admin
- [Google Analytics 4](https://togglework.app/features/marketing/analytics/) — TW-MKT-03 · Add GA4 without another plugin. The tracking script is cached on your own server, waits for cookie consent if enabled, and skips… · 5 settings
- [Lead Source Tracking](https://togglework.app/features/marketing/utm-tracking/) — TW-MKT-08 · See which campaign, ad or website every lead and order came from: UTM tags, referrer and landing page are saved with form entries… · 2 settings
- [Newsletter Signups](https://togglework.app/features/marketing/newsletter/) — TW-MKT-06 · Collect email subscribers with a signup form, an opt-in on any Toggleworks form or at checkout — with double opt-in — and send… · 6 settings

## Questions

**Is A/B Testing included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, A/B Testing among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does A/B Testing slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on A/B Testing only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try A/B Testing before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/marketing/ab-testing/
