Message A/B tests

Experiment with up to 26 message variations to determine audience engagement.

See also Scene A/B tests and Sequence A/B tests .

About A/B tests for messages

Create variants of message content by duplicating the initial variant or from scratch. Each variant returns analytic data to help you determine the most effective way to engage your audience. Audience allocation is automatically evenly distributed between variants and a control group, but you can change the percentages.

A/B tests for messages support these channels and message types:

  • App — Push notifications, in-app messages, and Message Center
  • Web
  • Email
  • SMS
  • Open channel

Set up the test in two steps:

  1. Create two or more message variants — Just like in the Message composer, for each variant, select channels, configure content for each channel, and set up delivery.

  2. Allocate an audience — You can designate all users as eligible for the test or target specific users. Of that group, set the percentage that will participate in the test, distributed among variants and a control group. Audience members are randomly selected.

    The control group is the portion of your audience that won’t receive any messages but will be included in the performance report for comparison. If you do not want to use a control group, you can set its percentage to 0% when setting the test audience. The remaining audience, if you’ve allocated less than 100% between variants and control, won’t receive any messages and won’t be included in the report.

    Setting a lower audience percentage lets you test with a smaller group so you can effectively manage feedback and interpret results. By default, the overall audience percentage is divided evenly between variants and a control group, but you can set your own values.

After creating variants and setting the audience, you can start the test and review its results.

When running A/B tests and a Holdout ExperimentMeasures the effects of excluding a group of audience members from all messages or messages with specific Campaign Categories. You can compare the performance of the two audience groups in reports for selected goal events. simultaneously, Airship prevents holdout group users from being included in the A/B tests. This eliminates potentially skewed data in cases where there are overlapping experimentation audiences. It also ensures that the most critical experiments maintain integrity.

To prepare for your tests, see About A/B testing.

Create a message A/B test

First, select the Create dropdown menu (), then A/B Test. Or you can start from your list of all A/B tests by going to Experiments, then Message A/B Tests, and then selecting Create A/B Test.

Next, select the test name and change it to something descriptive, then select the check mark to save it.

To finish setting up your test, you must add message variants and determine the audience. You can configure them in any order.

 Tip

You can also create a test from the Message composer. In the Review step, to use the message as an A/B test variant, select Create A/B Test. This creates a new A/B test with your message as the first variant.

Add message variants

You can add up to 26 variants to an A/B test:

  1. Select Add variant. After completing a step, select the next step in the header to move on.

  2. For Channels:

    First, select a Channel CoordinationA group of strategies for targeting users where they are most likely to receive your message. strategy:

    • Fan Out targets a Named User on all the channels they are opted in to, maximizing the chances they receive your message.
    • Last Active targets a Named User on the opted-in channel they used most recently.
    • Priority Channel targets a Named User on the first channel they are opted in to, in the priority order you set.

    Then, enable the channel types to include in your audience. For Mobile Apps, also select from the available platforms. For Priority Channel, also drag the channel types into priority order.

     Note

    For projects using the channel-level segmentation system, instead of Channel Coordination, enable the channels you want to send the message to.

    Use Channel conditions to filter which channels are included in the audience. A channel must meet the conditions to remain in the audience.

    For example, if your audience includes users with app, email, and SMS channels, and you set a channel condition requiring membership in an email Subscription List:

    • Only email channels that meet that condition would remain in the audience.
    • All app and SMS channels would be excluded.

    To set channel conditions, use the same process as when building a SegmentA reusable audience group you create by selecting unique or shared user data.. You can use the following data in your conditions:

    Selected Lifecycle, Subscription, and Uploaded Lists must contain Channel IDs or Named Users as the identifier, not a mix of the two.

     Note

    Setting channel conditions is not supported for projects using the channel-level segmentation system.

    Under Localization, enable the option if you want to provide different content to app and web users depending on their language and country.

  3. For Content, configure the message content per enabled channel. See the Content documentation per message type, Content options, and Localization.

  4. For Delivery, configure the message delivery timing and options. See Message delivery.

  5. In the Review step, review the device preview and message summary:

    When your review is complete, select Save Variant.

To add another variant from scratch, select Add variant. To duplicate an existing variant, select the more menu icon () at the end of a row and select Copy to variant.

Set the test audience

After creating an A/B test, select Audience and then set up your test audience:

  1. Choose and configure users:
    OptionDescriptionSteps
    All UsersThis option makes the test available to a percentage of your total audience.n/a
    Target Specific UsersThis option makes the test available to a percentage of users who meet specified conditions.Select and configure one or more conditions. Use the same process as when building a SegmentA reusable audience group you create by selecting unique or shared user data..
  2. Under Audience allocation, limit the selected audience to your specified percentage.
  3. (Optional) To override the default variant distribution, enable Allow uneven allocations. Then, under Variant allocation, edit the percentage for each variant and the control group.
     Note

    If you later add more variants, also update your variant allocation settings.

  4. Select Save.

Start an A/B test

Once you’ve created your message variants and set the audience for your test, select Start A/B test and confirm. Each variant will send according to its delivery settings.

View test results

After starting an A/B test, discover which variant performed best. Use the test- and message-level reports to determine the quality of each variant and strategies for increasing engagement. See also Implementing A/B tests, outcomes, and compliance in About A/B testing.

To access test results, go to Experiments, then Message A/B Tests, select the more menu icon () for a test in the list, then View results. You can also select the name of a test from the list and then go to Results.

  • A Performance section for each channel contains statistical data for each variant per channel and the control group, if any. Select a variant name to open its message report.
  • Message Detail contains the same information and preview options shown in the Review step when creating each variant and in a variant’s message report.

To export test data, select Download CSV, then Performance Data. If your test included Custom EventsEvents that indicate that a user performed a predefined action, such as adding an item to a shopping cart, viewing a screen, or clicking an Unsubscribe button. Custom Events can trigger automation, including Sequences and Scenes. You can code them into your app or website, or send them to Airship from an external source using the Custom Event API. Custom Events contain properties that you can use to personalize messages., you will also have the option to download Variant Event Data, which is a report of event conversions and associated values, broken out by variant and control group, if any.

 Note

Engagement data is sent to Airship as soon as it becomes available. Data may be delayed due to connectivity issues with a user’s carrier, wifi, power, etc. Wait at least 12 to 24 hours before acting on test data to allow for potential lags.

RTDS events

Messages used as variants in an A/B test include experiment information in Real-Time Data StreamingA service that delivers user-level events in real time to your backend or third-party systems using the Data Streaming API. events.

The Send event includes an experiments object with the test details, including experiment_id, type, and variant_id. The experiment_id also appears in the body object.

The Control event includes an experiment_id at the top level and also in the body object.

Managing A/B tests

Go to Experiments, then Message A/B Tests to view and manage your Message A/B Tests. Each test is listed by name with its status and the date it was last modified. Your last modified test is listed first. You can search for tests by name.

Options from the tests list:

OptionDescriptionSteps
ViewOpen the test to access its message variants, audience configuration, and results.Select a test's name. Or select its more menu icon () and then View test.
DuplicateMake a draft copy of a test with its message variants and audience configuration.Select a test's more menu icon () and then Duplicate.
View resultsOpen the test's performance reports.Select a test's more menu icon () and then View results. See View test results.

Editing message variants and audience

You can edit variants and audience settings for any test that has not yet been started. After opening a test from the message A/B Tests list, select the more menu icon () for a variant and select an option:

OptionDescription
EditModify the variant's channels, content, or delivery settings.
DuplicateCreate a copy of the variant as a starting point for a new variant.
DeleteRemove the variant from the test.

To modify the test audience, select Audience and adjust targeting or allocation settings. See Set the test audience for configuration details.