[Documentation](https://groundhogg.io/documentation/) » [Email](https://groundhogg.io/documentation/#doc-email)

# A/B Test a Broadcast

Published Monday, November 30, 2026 · Last updated Monday, November 30, 2026

When a broadcast’s email has test versions, you can test them on a small sample of the contacts first. Groundhogg waits to see which version gets more clicks or opens, then sends that version to everyone else.

## Before You Start

The email needs at least one ready test version. See [A/B Test an Email](https://groundhogg.io/doc/a-b-test-an-email/) to add one. If it has none, the broadcast form shows a link to add one instead of the test settings.

## Schedule the Test

1. Start a broadcast as usual, pick the email, the contacts and when to send it. See [Email Broadcasts](https://groundhogg.io/doc/broadcasts/).
2. Under the batching settings, turn on **A/B test on a sample first?**
3. Fill in the sentence: *Send to [20]% of the contacts first, wait [4] hours after the last of them is sent, then send the version with the most [clicks] to the rest.*
4. Review and schedule the broadcast.

![The A/B test on a sample first setting in the broadcast form, with the sample, wait and clicks fields](https://groundhogg.io/wp-content/uploads/2026/11/broadcast-ab-test-on-a-sample.png)

- **Sample**: 5% to 50% of the contacts, picked at random. The sample is split between the versions.
- **Wait**: 1 to 168 hours. Give contacts time to read the email. A few hours is usually enough to see a difference.
- **Clicks or opens**: how the winner is picked. Clicks are more reliable, because many email apps open every email automatically.

A test broadcast can’t repeat, so turning on the test hides the recurring and extra send date settings.

## What Happens Next

1. The sample is sent at the time you picked, as its own broadcast.
2. The wait starts once the last of the sample is sent.
3. After the wait, the version that’s ahead becomes the winner, even if it’s only a little ahead. It’s better than a coin toss for the rest.
4. The winner is sent to everyone else as a second broadcast. Nobody in the sample gets the email twice.

The winner stays picked on the email, so your flows send it from then on too. To test again, click **Start over** in the email’s A/B test section.

## Batches and Local Time

If the broadcast is sent in batches, or in each contact’s local time, the sample takes longer to send. The wait still starts after the last of the sample is sent, so every contact in the sample gets the whole wait. The rest are then sent the same way: in batches, or in each contact’s local time at the same time of day as the sample.

## FAQs / Troubleshooting

**Can I stop the test?**

Cancel the sample’s broadcast. The rest isn’t sent either.

**The wait is over but the rest wasn’t sent.**

Check that your [cron job](https://groundhogg.io/doc/cron-jobs/) is running, because the rest is sent by a scheduled task. Also check the email is still **Ready**: a draft email can’t be broadcast.

**Can I run two tests of the same email at once?**

No. Wait for the first test to send its winner before you schedule another.

**The broadcast’s contacts are in different languages.**

Contacts who get a [version in their language](https://groundhogg.io/doc/send-emails-in-your-contacts-languages/) get it in the sample and in the rest. The test only decides what everyone else gets.

**Can an AI agent schedule a test broadcast?**

Yes. Ask a [connected AI agent](https://groundhogg.io/doc/connect-an-ai-agent-to-groundhogg/) to broadcast the email with an A/B test on a sample, and tell it the sample size, the wait and whether to go by clicks or opens.

## Related docs

- [Email Fonts on Each Device](https://groundhogg.io/doc/email-fonts-on-each-device/): Which of the email editor's built-in fonts Windows, Mac, iPhone and Android readers have,…
- [Custom Fonts in Emails](https://groundhogg.io/doc/custom-fonts-in-emails/): Use your brand's own fonts in emails: upload font files or add the fonts…
- [A/B Test an Email](https://groundhogg.io/doc/a-b-test-an-email/): Test another subject line or design by adding a test version to an email.…
- [Send Emails in Your Contacts’ Languages](https://groundhogg.io/doc/send-emails-in-your-contacts-languages/): Add a version of an email in each of your site's languages, translate it…
- [Email Editor Blocks](https://groundhogg.io/doc/email-editor-blocks/): Groundhogg's email editor is built from blocks. Drag a block into your email, click…
- [How to Show Your Logo in the Inbox with BIMI](https://groundhogg.io/doc/bimi/): Show your logo next to your emails in Gmail, Apple Mail and Yahoo with…
- [Secure Your Sending Domain: SPF, DKIM, DMARC, DNSSEC and MTA-STS](https://groundhogg.io/doc/secure-your-sending-domain/): The DNS records that protect your domain from spoofing and help your emails reach…
- [ZeroBounce](https://groundhogg.io/doc/zerobounce/): Validate your contacts' email addresses with ZeroBounce so you only send to real, working…
- [Replies & Messages](https://groundhogg.io/doc/logging-email-conversations/): Messages shows your email conversation with a contact on their record, like a text…

[See all Email docs →](https://groundhogg.io/documentation/#doc-email)
