Create A/B test campaigns

To create an AB campaign, you must use the NewslattersManager class. The following code creates an AB campaign through the Native API.

First, you initialize the NewslettersManager. Then, you call CreateABCampaign to create the campaign. Finally, after all properties are set, you save the changes.

NOTE: Campaign B must share the same mailing list as the selected campaign A.

NOTE: For more information about creating the A and B campaigns, see For developers: Create campaigns.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?