# Campaign Manager: A/B Testing

**URL:** <https://forum.mautic.org/t/campaign-manager-a-b-testing/23791>\
**Category:** Product Support\
**Created:** [April 19, 2022, 3:26pm UTC](https://forum.mautic.org/t/campaign-manager-a-b-testing/23791 "2022-04-19T15:26:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![toby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/toby/32/6897_2.png) [@toby](https://forum.mautic.org/u/toby)\
**Post date:** [April 19, 2022, 3:26pm UTC](https://forum.mautic.org/t/campaign-manager-a-b-testing/23791/1 "2022-04-19T15:26:20Z")

</div>

Hi all,  
Has anyone done any A/B testing on Campaign Manager lately, and if so, how’ve they done the split?

I’m looking to just do a 50/50 split based upon 2 different emails.

Not bothered about decision making and AI on this occasion (although it’s obviously crucial down the line), just how to split the DB at random.

Any ideas?

---

<div class="post-metadata">

**Author:** ![fjeldberg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fjeldberg/32/613_2.png) [@fjeldberg](https://forum.mautic.org/u/fjeldberg)\
**Post date:** [September 7, 2024, 4:07pm UTC](https://forum.mautic.org/t/campaign-manager-a-b-testing/23791/2 "2024-09-07T16:07:20Z")

</div>

I am looking for the same, did you ever find out how to do this?

---

<div class="post-metadata">

**Author:** ![ricfreire](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricfreire/32/14973_2.png) [@ricfreire](https://forum.mautic.org/u/ricfreire)\
**Post date:** [September 7, 2024, 7:25pm UTC](https://forum.mautic.org/t/campaign-manager-a-b-testing/23791/3 "2024-09-07T19:25:49Z")

</div>

Hi @toby and @fjeldberg

Are you referring to A/B testing for emails? If so, I’d be happy to walk you through it.

**How to Set Up an Email A/B Test**

1. On your Mautic instance, navigate to Channels \> Email and create a new email.
2. Write, design, or code your email as desired. Once finished, click Save & Close.
3. In the top right corner, under More options, select Add A/B Test.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a4993705698a12deb0c94b58497465418ace0490.png)
4. Create the second version of your email. Ensure this version is different, as you’ll be testing which performs better.
5. In the right sidebar, rename the internal title to distinguish it from the first variant.
6. Set the Traffic Weight. For a 50/50 split, enter 50 in the field.
7. In A/B Test Winner Criteria, choose how you want to determine the winner. Personally, I often go with Read rate, but other metrics can be considered based on your goals.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/fa27182016e42d5e127e2d6f3075a5eb47ac692b.png)
8. Once done, click Save & Close.
9. On the Email Statistics page, on the bottom, you’ll find a tab called Variants. Here, you’ll see both email variants with their corresponding traffic percentages (e.g., 50% each).  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/d1ce665d672182647ecb1dfa6421d9834bf87d47.png)
10. That’s it! You’re now ready to use your A/B tested email in the desired campaign.

**Note:** You can create more than just two variants in an A/B test and adjust the traffic weight distribution as needed.

Hope this helps!  
Best regards,  
Ricardo

---

<div class="post-metadata">

**Author:** ![fjeldberg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fjeldberg/32/613_2.png) [@fjeldberg](https://forum.mautic.org/u/fjeldberg)\
**Post date:** [September 8, 2024, 12:22pm UTC](https://forum.mautic.org/t/campaign-manager-a-b-testing/23791/4 "2024-09-08T12:22:29Z")

</div>

Hi @ricfreire thanks for the detailed reply! I can’t speak for @toby but I would like a way to do something on a campaign level. Such as sending 50% on route in the campaign an the other 50% another way. So not just A/B testing emails, but the entire flow.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [September 8, 2024, 2:56pm UTC](https://forum.mautic.org/t/campaign-manager-a-b-testing/23791/5 "2024-09-08T14:56:32Z")

</div>

Hi,  
Here are 2 ways to do it:

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/3e6060ed805fdd4344b7d0d9a5f50aba473bfa77.jpeg "AB Testing Mautic Campaigns - 2 Solutions") ](https://www.youtube.com/watch?v=8im7x9B9J6I)
