In-app message examples


Creating an in-app message
To open the in-app page, go to Campaigns→ Campaign manager → In-app. This page lists all the in-app campaigns you have set up and their current statuses. Here, you can filter the campaigns by folder or status.

Setting up an in-app message
On the in-app setup page you can add its title and check the current status of the campaign.
Template design
In this block, you can add the following:- A URL to an image;
- A URL or a deep link — i.e., a the destination for the user that taps the image;
- The payload to send JSON-formatted data to your app (enter this manually and the system will process it when the user clicks the in-app message).

Custom layout (HTML and CSS)
If the predefined templates are too restrictive, select the Custom layout template when you create the in-app. It renders your own HTML and CSS, so you control the whole layout — several buttons, input fields, custom fonts, animations, and anything else you can build on a web page. Before you plan a campaign on this template:- Find out which SDK version your app is built with. This is not visible in the Maestra interface — ask your mobile development team, or open the customer card of a test device and click All devices to see the version that device reports.
- If the version is below 2.14.1, use a predefined template instead. A modal window with an image is available on all SDK versions, and a snackbar requires 2.8.0 or higher. To get a result close to your mock-up, export the design as an image and use it as the in-app image.
Once your app is updated to SDK 2.14.1 or higher, a Custom layout in-app reaches only the customers who install the new app version. Customers still running an older build will not see it.
If you do not see the Custom layout template in the template list, it is not enabled for your project yet — contact your Maestra manager.
General settings

Targeting
In the targeting section, you can select the target audience of your in-app campaign. To set this up, add:- A Scheduled or Static customer segment
- The geographical location of customers down to a country, region, or city. Their locations are determined by their IP addresses. This feature is available for SDK v. 2.3.0 and later.

How in-app messages work
Every customer will see each particular in-app message only once. If a customer has been filtered into multiple target segments of different in-app campaigns, they will see one in-app message per session. The messages are displayed in a random order as it is not currently possible to prioritize campaigns over one another. The same in-app message will not be displayed twice to the same customer. Once you stop your in-app campaign, it will not be shown to users — even those who have not seen the campaign yet. The customer can close an in-app message by tapping the cross or somewhere outside the message. You can find information on displayed in-app messages and whether the customer tapped it in their customer profile.