Pre-built In-App Templates

Overview

MoEngage Pre-built In-App NATIV campaigns or In-App Presets is a collection of pre-created In-App campaign templates featuring effective use cases, with an inbuilt help to guide you through the use-case and allow you to create these campaigns in a matter of seconds. Templates or Presets are:

  1. Popular and effective use cases advocated by our customer success experts
  2. With an in-built help guide
  3. Easy to use
  4. Created in a matter of seconds

Template Types

Use different types of templates based on your requirements:

Template Type Description
Popup These templates are rendered in the center of the screen over a transparent overlay. Use this template when you want to divert the user's attention towards a sale or discount.
Full Screen Full-screen templates occupy the whole screen and block the app completely. These templates are useful when you want to necessarily divert the user's attention to something like a mandatory app update. Know more here.
Rating The 5-star rating template is a special template of In-App Nativ. This is also a pop-up template and allows the user to interact with the template and provide a rating which is used for re-targeting as well. Know more here.
Nudges These are non-intrusive templates that allow your users to continue to interact with the app. Nudges are typically embedded inside the app, at the top of bottom of the screen. Use these templates when you want to alert your users about some new information, sale day, and so on. Know more here.
Self Handled With the Self Handled Template, you can leverage MoEngage In-App campaign delivery, segmentation smart trigger, and personalize but render the message yourself as required. This allows you to create complex visuals for your messages while leveraging other In-App capabilities.

Customizing Pre-built In-App Templates

While using our InApp Native campaigns, there are a few guidelines that need to be followed to ensure that your in-app templates look the best on all devices.

Customizing Images

We recommend our In-App Nativ users upload images of high definition but not exceeding 1 or 2 MB in size. This is because before an In-App message is shown on the device, the image within the message is downloaded from a CDN before being shown to the user. If a user is on a slower internet connection, it might take longer for the image to be downloaded and hence there will be a delay to show the in-app message to this user.

Aspect Ratio of Images

The following are MoEngage recommended aspect ratios of images for each template type -

Template Name Recommended Aspect Ratio (width : height)
Popup - Image, Text & 3 Buttons Message re-sizes to fit images of most sizes. MoEngage recommends aspect ratio for this template is 1:1 and about 50*50 pixels or more in size.
Popup - Image, Text & Button Message re-sizes to fit images of most sizes. MoEngage recommends aspect ratios include 1:2, 2:3, 3:2, 2:1 etc. and at least 450*450 in dimension so that the image does not distort
Popup - Image, Header, Text & Button Message re-sizes to fit images of most sizes. MoEngage recommends aspect ratios include 1:2, 2:3, 3:2, 2:1 etc. and at least 450*450 in dimension so that the image does not distort
Popup - Image & 2 Buttons Message re-sizes to fit images of most sizes. MoEngage recommends aspect ratios include 1:2, 2:3, 3:2, 2:1 etc. and at least 450*450 in dimension so that the image does not distort
Popup - Rating with Image Message re-sizes to fit images of most sizes. MoEngage recommends aspect ratio for this template is 1:1 and about 50*50 pixels or more in size.
Popup - Image Message re-sizes to fit images of most sizes. High-resolution Max 1200*2000 pixels and Min 450*450 pixels
Popup - Image & Button Message re-sizes to fit images of most sizes. High-resolution Max 1200*2000 pixels and Min 600*600 pixels
Full Screen - Image, Text & Button Use Images of aspect ratio 3:4 or 3:5 and at least 450*600 pixels so that the image does not distort on larger devices device.
Full Screen - Image Use Images of aspect ratio 3:4 or 3:5 and at least 450*600 pixels so that the image does not distort on larger devices device.
Nudge - Image Use wide images with an aspect ratio of approximately 5:1 or 6:1.

Accepted image types

For In-App Nativ, you can upload .png, .jpeg, and .gif as images in any of the In-App native templates. Note that for using GIFs in Android In-App Native, you need to ensure that the integration steps mentioned here are done. GIFs are supported by default on the iOS platform.

Image Quality and Size

For In-App Nativ templates, try to use high-resolution images so that they do not distort even on large screens. The higher the image size, the higher the chances of the image failing to download on a device with a flaky internet connection. Use images of less than 2MB in size so as to keep a good balance between image quality and time for download.

Scaling Images as per device dimensions

The In-App messages you create are rendered on devices with different form factors and dpi. As a result, the image that you upload on the dashboard is scaled down or scaled up when it is rendered on devices of different dimensions. For example, you upload an image of dimensions 600*1000 pixels (width * height) on a device for the template - Popup - Image. Now when this message is displayed on a device with width = 320 pixels where the in-app message occupies about 400 pixels width. In this case, we will scale down the image width to 300 pixels and calculate the height basis the aspect ratio of the image (3:5) which is 500 pixels. So the 600*1000 pixels image will be scaled down to 300*500 pixels. This way the image will never break. When images are scaled up or down, it is important to know that we only scale the width and calculate the height basis the aspect ratio of the image so that the image is not distorted when it is displayed.

Background Images

Configure background images for the In-App messages.

  1. On the Content tab of step 2 of campaign creation, click Template Settings
  2. In the Template background image, use one of the following:
    • Click Image URL and type or paste the URL of the image.
    • Click Upload Image and drag and drop the image or click the upload from the computer the stored image.

Backgroundimage.png

 

WARNING

Background images are not scaled like the other images of the In-App content. Instead, the background image fit the width and height of the message that is calculated by the inner widgets. The background image might stretch due to the calculations.

Background Color

Background color allows you to add a background to your in-app messages. It can also be removed to make your messages transparent.

  1. On the Content tab of step 2 of campaign creation, click Template Settings.
  2. In the Background color, select the color.
  3. In the Phone Background color, select the color.

Backgroundcolor.png

Full-Screen Template

Full-Screen Templates occupy the whole screen of the user and are rendered over an opaque background. While using the Full-Screen Template, it is very important to note that you need to use images that have a single color right now and set the background color and tint color should be the same so that the in-app message has the appearance of occupying the whole screen.

All full-screen in-app messages will fill the status bar on “notched” devices.

To create a proper full-screen in-app message, please ensure to do the following (only applicable for Version 3 of In-App Campaigns) -

  1. Upload an image of a 3:4 or 3:5 aspect ratio.
  2. Set the background color to merge with the image color. FullScreen_BackgroundColor.png
  3. Set the overlay color to merge with the background color. OverlayColor.png After all 3 steps are done, you will see the In-App message on the device as described.

    PreviewFullScreen.png
     

    INFORMATION

    Note that on SDK Versions less than 10000 (Android) and less than 6.0.0 (iOS), the Full-Screen Message will be top-aligned and does not occupy the entire screen. On the later SDK versions, MoEngage templates centrally aligned and configured the overlay to occupy the entire device height.

Rating Template

Rating Template is a special template available in InApp Nativ. This allows your end-users to provide ratings for a specific activity inside the app or for the whole app. While creating the rating template, configure the following:

Configure the rating appearance: Rating_01.png

Configure the Rating in a user attribute:

RatingAttribute.png

Action-based on User Rating

Marketers often have this use case around Rating Pop-ups that if the end-user has rated them greater than 3, they want to take them to App/Play Store. Else they want to take them to a feedback page or take no action.

RatingFinal.png

In our quest to allow marketers to achieve more via MoEngage, we allow you to set Conditional Action basis in which you can decide what you want your end-user to do basis his/her rating. e.g.

Send the user to URL if rating is greater than 3

RatingCondition.png

The comparison operators are inclusive in nature and work as below:

  • Greater than 3 refers to a rating value of {4,5}
  • Less than 3 refers to rating value for {1, 2}
  • Equal to 2 refers to rating value of {2}
  • Between 2 and 5 indicate rating values of {2, 3, 4,5}

Supported SDK Versions

Rating In-app is available only for Android SDK version 8.4.00 and above, iOS SDK version 3.9.0 and above. Please update your version for MoEngage iOS SDK as well as MoEngage Android SDK if you are on versions below the mentioned ones.

 

INFORMATION

So if you are using this template for the apps using SDK version below Android 8.4.00 and iOS 3.9.0, add Fallback action which will work as it used to work hitherto i.e. One action for every rating given by the user.

Notification Template

Notification templates provide options for users to enable notifications.  Configure the template for opting in for receiving a notification or opt-out of receiving the notification.

Notification_01.png

Use the buttons for opt-in and opt-out to receive the notifications.

Button_Notification.png

Personalization

You can personalize the content using User Attributes, User Events, Product Sets, Content APIs and Content Blocks.

For more information, refer to

In-App_Native.gif

Do the following:

  1. Type @ to personalize the content.
  2. Click either Data personalization or Content Block.
  3. Click the Data personalization tab and from the drop-down, select one of the following
    1. User Attributes
    2. Select one of the following as for alternate (Fallback) to the personalization:

      • No Fallback Choose the option for personalized content. The option results in no alternates when the personalization does not work.
      • Do not send In-App Choose the option where if the personalization does not work, In-App messages are not sent.
      • Replace Text Type or paste the text used when the personalization does not work.
    3. Product Sets
    4. Content API
      • Modify the values of the parameters of the Content API.
  4. Click the Content Block
    1. Select the content block to be inserted
    2. Click Insert only the content of the content block.
       

      INFORMATION

      When the option is selected

      • Only the content is inserted
      • The content is disconnected from the content block
      • Any content update in the content block is not reflected in the inserted content.
  5. Click Done.

Frequently Asked Questions

  1. What happens if an in-app message goes beyond the device height?
    A: If an in-app message when rendered has a height more than the device height then, in this case, the in-app message will not be rendered.
  2. Are images mandatory for in-app templates?
    A: Yes, images are mandatory for in-app templates. If these are not provided, the in-app messages will not be shown on the device.
  3. Is text scaled across different device sizes?
    A: Currently, the text is not scaled across different device sizes. So if you specify a specific font while creating the message, the same font size will be used in the in-app message on all devices.
  4. Can I remove images from in-app messages?
    A: Currently images are mandatory for in-app messages to be displayed on end-user devices.
  5. Can I remove the color from in-app messages?
    A: Yes you can remove the color from the in-app message by setting the opacity to 0
  6. What happens to in-app messages when the app is in landscape mode?
    A: When the app is in landscape mode, no in-app messages are shown as of now.
  7. Are in-app messages supported on tablets?
    A: No, we do not support in-app messages on tablets right now.
Was this article helpful?
0 out of 0 found this helpful