Documentation » Email

A/B Test a Broadcast

Published · Last updated

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 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.
  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
  • 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 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 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 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.

See all Email docs →