Last modified March 21, 2019 by John Mcgrath

How do I A/B test in-app message location?

After splitting up your user base with Swrve’s A/B Resources tool, you can use those segments in different campaigns to determine where your in-app message is most effective.

How to create in-app messages for A/B test variants

Step 1: In the Campaigns center, select Create campaign.

Step 2: On the Choose your marketing channel screen, select In-app message as your campaign channel, then select Continue.

Step 3: Complete the Overview and Add Content screens of the in-app message workflow (for more information on completing these screens, see Creating in-app messages).

Step 4: On the Set Target screen, under the Define Target Audience section, select Custom Audience and then define the following values:

  • Under User Profile Filters, select Resource Tests.
  • Select the test from the list of available resource A/B tests.
  • In the next list, select have been exposed to.
  • Select one of the two variants you created (for example, Activities Page).
  • To add the audience filter, select Apply filter.

A/B test in-app message location

Step 5: In the Set Display Triggers section, select the event that you want to trigger the in-app message (for example, activity_page_opened).

Display trigger activity page opened


Step 6: In the Select Campaign Goals section, select any additional campaign goal you want to track.

Step 7: Select Save as Draft: Preview & Test to proceed, and then schedule and launch the campaign as required.

Step 8: Create and launch another in-app message campaign. Follow the same steps, but this time use the variant you didn’t use in Step 4 (Messages Page), and set the display trigger to the appropriate event/location (messages_page_open).

Step 9: After users have had a chance to engage with the app, return to the Resource A/B Testing screen and select the A/B test you created to compare how each of the variants are performing.

Message location test details