In-App Experience Defaults

Set appearance, behavior, and property defaults for In-App Automation, Scenes, and Surveys.

About in-app experience defaults

There are different categories of defaults for in-app experiences:

  • Behavior — Set up how in-app experiences are refreshed on devices and what happens when audience conditions are not fully met: Background push and Missed behavior.

  • Properties — Name and define Colors and Fonts (families and sizes) that you can select when configuring appearance defaults and when configuring the content of individual in-app experiences.

  • Appearance — Pre-configure the design settings of new in-app experiences. You can override them in the composers.

    For In-App Automation and Survey defaults, set default values for background, text, and buttons per message style: Banner, Modal, Fullscreen, and HTML.

    Scene defaults are a mix of appearance and property defaults:

    • Set default colors for the background, dismiss button, and indicators.
    • Name and define view, text, and button styles that you can select when configuring appearance defaults and when configuring the content of individual Scenes.

Applying changes to existing messages

In-app experiences are cached on users’ devices then displayed when certain conditions are met. Edits made to individual messages are applied upon the next app open or via background push, if enabled. Users who trigger the message after you save your edits will see the latest version of the message.

When you make changes to your project’s in-app experience defaults, they are applied to all new in-app experiences. You can also apply the changes to defaults settings to existing messages by editing the message:

  1. Open the message for editing, from either:
  2. Edit any part of the message.
  3. Save your changes:
    • If you are editing a draft and not ready to send, select Exit.
    • If you are editing an active message or ready to send, go to the Review step and select Update if the message is already active or select Finish for a new message.
 Note

Edits are not applied to active messages that have already been triggered by a user. For instance, for a message configured to display when viewing a specific app screen, if you edit the message after the trigger event occurred for a user but before they have viewed the specific app screen, they will see the version of the message that does not contain your edits.

Background push

Background push pre-loads In-App Automations, Scenes, and Surveys on users’ devices, which increases the speed and reliability of message delivery. It is disabled by default. When disabled, the SDK downloads and refreshes the entire message list upon next app open. For information about the potential impacts of background push, see: In-App Automation: Background Push. The linked information also applies to Scenes and Surveys.

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select Advanced Options.
  5. Enable Background Push.
  6. Select Save.

Missed behavior

Specify how messages are handled when audience conditions are not fully met.

 Note

You can override this setting on a per message basis in the Settings step in the In-App Automation, Scene, and Survey composers.

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select Advanced Options.
  5. Enable Missed Behavior, then select a behavior:
    OptionDescription
    CancelThe message cannot be displayed again on the device, even if the message is edited.
    IgnoreThe message will not count toward the display limit set for Repeat this message, and the waiting period will not apply. The trigger event must occur again before the message is eligible for redisplay.
    IncrementThe message will count toward the display limit set for Repeat this message, and the waiting period will apply. The trigger event must occur again before the message is eligible for redisplay.
  6. Select Save.

Colors

A Color Set is a named pair of hexadecimal color values supporting device Light and Dark modes. Color sets can be selected for any color field in a Scene and when configuring the default appearance of Surveys, Scenes, and In-App Automations. Dark mode is supported for Scenes only.

When you edit a color set, the changes automatically update anywhere the set is in use. You may want to update your color sets seasonally or when refreshing your branding.

New projects have 10 preset color sets.

 Note

Color sets used in In-App Automation and Survey defaults appear as their Light Mode hexadecimal color values, not the color set name, in In-App Automation and Survey composer color fields. They appear as their color set name in Scene defaults and in the Scene composer.

To add color sets:

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select Colors.
  5. Select Add color set.
  6. Enter a name for the color set and a Light Mode hexadecimal color value and opacity percentage. Dark Mode is optional. Repeat for additional sets.
  7. Select Save.

After editing a color set, select Save. Select the delete icon (() to remove a set.

 Important

If editing or deleting a color set that is in use, make sure to update the values for the affected fields in your in-app experiences and your In-App Automation and Survey defaults and Scene defaults.

Fonts

When configuring the content of your in-app experiences, or when setting their defaults, you must set a Font family and a Font size for text, including button labels.

For Font family, all projects contain a serif and a sans-serif font. You can also add custom fonts so your in-app experiences use the same fonts as the rest of your app.

Custom fonts

Custom fonts are rendered in your messages according to a font stack, which is a list of the names of individual fonts available in your app. Your app’s primary font should always be first in the stack, with additional fonts listed in the order you want them used in case the primary font doesn’t load.

After creating a custom font stack, you can select it as a Font family when configuring appearance defaults and text and button fields in the In-App Automation, Scene, and Survey composers. Since font name format varies between iOS and Android, custom font stacks also allow font names to be unified into a single selection.

Each font name should match the fonts that are in your app. You can create separate stacks for serif and sans-serif fonts.

 Important

Confirm your app’s font names with your developer before creating custom font stacks.

  1. Adding custom fonts in your project settings does not add the font to your app. A developer must add the font to your app. See our platform documentation for customizing in-app experiences:

  2. The font names you enter when creating a font stack must match the names as configured in your app, keeping in mind that font name format varies by app platform:

    OptionConfiguration
    AndroidUse the name that is in your app's fonts.xml. See the Fonts In XML guide. For example, if you define a font in res/fonts/my_cool_font.xml, the font name is my_cool_font.
    iOSUse the font family name, including spaces. For example, Roboto Condensed. This is not necessarily the filename of the font. One way to verify the family name is to check the Identifiers section for the font in the Font Book application on macOS.

To create a font stack:

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select Fonts.
  5. Select Add a custom font stack.
  6. Enter a name for the font stack.
  7. Enter the name of a font and select Add. Repeat for additional fonts.

    For the first font in the stack only, you can enter a publicly accessible web font URL for rendering the font in Scene previews:

    OptionFormat
    Web font fileSupported file types: WOFF, WOFF2, TTF, or EOT.
    Web font CSS linkThis should be from a web font service such as Google Fonts. Example: https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@200
  8. Select Save for the font stack.
  9. Select Save for the project settings.

To edit a font stack:

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select Fonts.
  5. Select the edit icon () for a font stack.
  6. Edit any part of the stack. For individual fonts:
    OptionConfiguration
    EditSelect the edit icon (), make your changes, then select Update.
    DeleteSelect the remove icon ().
  7. Select Save for the font stack.
  8. Select Save for the project settings.

Deleting removes the entire font stack. If you want to delete an individual font within a font stack, edit the font stack instead.

To delete a font stack:

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select Fonts.
  5. Select the remove icon () for a font stack.
  6. Select Save.

Font size

For Scenes, set font size in points in a Scene’s Text defaults and when configuring Scene content.


For for In-App Automation and Surveys, first define font sizes in your project settings:

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select Fonts.
  5. Under Font Sizes, enter a value in points for small, medium, and large sizes of Header, Body, Footer, and Button text.
  6. Select Save.

Now you can select Small, Medium, or Large for the header, body, footer, and button Font size fields in:

To override the defaults for individual Surveys, enter a size in points in the Survey’s Design settings.

Scene defaults

AXP

Set defaults for ScenesMulti-screen experiences that are cached on users’ devices and displayed when your users meet certain conditions within your app, such as viewing a particular screen or opening the app a certain number of times. Scenes can include survey questions or be presented as a story.. The settings are pre-configured when you create a new Scene.

In addition to setting default colors for the background, dismiss button, and indicators, you can name and define multiple view, text, and button styles that you can select when configuring individual Scenes. You also select a text style when configuring the properties of button styles. All projects contain preset styles that you can rename, customize, and remove.

  1. Go to Settings.

  2. Under Channels, select Mobile Apps.

  3. Select Manage for In-App Automation, Scenes, and Surveys.

  4. Go to Scenes and configure the default settings for background, text, and buttons. See the table following these steps for the fields and style presets per settings section.

    • At least one style is required for each. If you remove a preset (Fullscreen or Modal) view style that is in use in Scenes, the first view style in your list is applied to those Scenes.
    • Previously set hexadecimal color values appear until you make your first color set selection and save your changes.

    On the Background tab, the device preview updates as you type and make selections. Use the tools above the preview as you adjust settings:

    ToolDescriptionConfiguration
    ViewShows a preview of the selected view style.Select a view style.
    DeviceProvides a more accurate representation of how your content will appear on iOS and Android devices. After making a selection, the preview updates to reflect the device's viewport dimensions.Select a device.
    Light/Dark modeShows the appearance of elements with an assigned color set. Light Mode values appear in Dark Mode preview if no Dark Mode value was entered for a color set.Toggle the selector.
  5. Select Save.

Fields and style presets per settings section:

SettingsFieldsStyle presetsMaximum styles
Background
  • Background color
  • Shade color
  • Dismiss button color
  • Indicator active color
  • Indicator inactive color
n/an/a
Background (Views only)For each view style:
  • Name
  • Height
  • Width
  • Position
  • Border radius
  • Fullscreen
  • Modal
25
TextFor each text style:
  • Name
  • Font family
  • Font size
  • Alignment
  • Color
  • Emphasis
  • Headline large
  • Headline small
  • Title large
  • Title small
  • Body large
  • Body small
  • Button
  • Text button
25
ButtonsFor each button style:
  • Name
  • Text style
  • Background color
  • Border color
  • Border size
  • Border radius
  • Filled
  • Outlined
  • Button text
25

In-App Automation and Survey defaults

Set defaults for the background, text, and buttons in In-App AutomationMessages that are cached on users’ devices and displayed when your users meet certain conditions within your app, such as viewing a particular screen or opening the app a certain number of times. and SurveysQuestion-and-answer experiences used to collect and aggregate feedback or generate a net promoter score. They are cached on users’ devices and displayed when your users meet certain conditions within your app, such as viewing a particular screen or opening the app a certain number of times.. The settings are pre-configured when you create a new In-App Automation or Survey.

 Note

For In-App Automation, these defaults apply to the Classic editor only. You cannot set defaults for the Interactive/WYSIWYG editor.

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select In-App Automation, then configure each message style: Banner, Modal, Fullscreen, (Custom) HTML. See the table following these steps for the fields and options per settings section for each message style. The device preview (not available for HTML) updates as you type and make selections.
    • Modal and Fullscreen styles are for In-App Automation and Surveys. Banner and HTML are In-App Automation only.
    • Previously set hexadecimal color values will appear until you make your first color set selection and save your changes.
  5. Select Save.

Fields and options per settings section for each message style:

SettingsBannerModalFullscreenHTML
Background
  • Background color
  • Dismiss action color
  • Border radius
  • Position
  • Background color
  • Dismiss action color
  • Border radius
  • Display fullscreen on small screen devices1
  • Background color
  • Dismiss action color
Same as Modal
TextHeader and Body:2
  • Font family
  • Font size
  • Alignment
  • Color
  • Emphasis
Same as BannerSame as Banner, for Header, Body, and Footern/a
Buttons
  • Font family
  • Font size
  • Border radius

For two buttons:
  • Text color
  • Background color
  • Border color
Same as BannerSame as Banner, for five buttonsn/a

1. Supported for In-App Automation only.
2. Survey questions are rendered as Header text and answers as Body text.

Setting transparent background

While you can set the background to transparent in general, this information applies to modal In-App Automations only.

Modal In-App Automations display within an HTML container that has a white background. You can eliminate the white background by setting the background color of the HTML style to transparent. iOS SDK 16.11.3+Android SDK 16.9+

  1. Go to Settings.
  2. Under Channels, select Mobile Apps.
  3. Select Manage for In-App Automation, Scenes, and Surveys.
  4. Select In-App Automation, then HTML.
  5. Enter #00000000 for the background color.
  6. Select Save.

Field reference

Refer to these descriptions and configuration details when setting defaults for Scenes and In-App Automation and Surveys.

Background

Set for background fields:

FieldDescriptionConfiguration
Background color (In-App Automation and Surveys)The color of the message background.Select a color set. See also: Setting transparent background.
Background color (Scenes)The color of the message background. Applies to all view styles.Select a color set.
Border radiusGoverns rounding the corners of a banner, modal, or custom HTML message. For banner messages, this applies to bottom corners for top-positioned messages and top corners for bottom-positioned messages.Enter an integer from 0 to 100.
Dismiss action colorFor In-App Automation banner messages, this is the color of the drawer pull element that indicates the direction the user can swipe to dismiss the message. For In-App Automation modal, full screen, and custom HTML messages, this is the color of the "X" button used to dismiss the message. For Surveys, this is the color of the "X" button used to close the Survey.Select a color set.
Dismiss button colorThe color of the "X" button used to close the Scene.Select a color set.
Display fullscreen on small screen devicesStretches modal and custom HTML message layouts to fullscreen on small devices, e.g. mobile phones, maintaining the same button layout. Supported for In-App Automation only. Use this setting if you want your message to take over the entire screen on a phone but display as a modal on a tablet. The default display of custom HTML messages is modal.Check the box to enable.
Indicator colorsThe colors of the dots that indicate the number of screens and their active/inactive state in a multi-screen Scene. When Story mode is enabled, they are in the form of a progress bar that indicates the number of screens and their remaining duration. The Story mode progress bar is displayed using the inactive color only.Select a color set for the active (current screen) and inactive states.
PositionThe vertical screen position of a banner message. A message set to Top appears by animating down from the top of the device window. A message set to Bottom animates up from the bottom of the device window.Select a position.
Shade colorThe color of the device screen surrounding a non-fullscreen Scene. Applies to all non-fullscreen view styles.Select a color set.

Background — Views

Set for Scene view fields:

FieldDescriptionConfiguration
NameA descriptive name for the style. The name appears in the list of all view styles in the Settings section of a Scene.Enter text.
Border radiusGoverns rounding the Scene's corners. Only apparent when Height and Width are set to less than 100%. For Top-positioned views, this applies to the bottom corners only. For Bottom-positioned views, this applies to the top corners only.iOS SDK 17.6+Android SDK 17.5+Enter an integer from 0 to 100.
HeightThe height of the Scene as a percentage of the device screen window size.Enter a numeric value.
PositionThe vertical position of the Scene. Only apparent when Height and Width are set to less than 100%. Top and Bottom align the top/bottom of the Scene with the top or bottom of the device screen window. Middle aligns the vertical center of the Scene with the vertical center of the device screen window.Select a position.
WidthThe width of the Scene as a percentage of the device screen window size.Enter a numeric value.

The preset Modal view default settings are:

  • Height: 75%
  • Width: 80%
  • Position: Middle
  • Border radius: 0

Buttons

Set for button fields:

FieldDescriptionConfiguration
NameA descriptive name for the style. The name appears in the list of all button styles when configuring Scene content.Enter text.
Background colorThe color of the button background.Select a color set.
Border colorThe color of the button border.Select a color set.
Border radiusGoverns rounding the button corners.Enter an integer from 0 to 100.
Font familyThe font of the button text: serif, sans-serif, or a custom font stack.Select a font or font stack.
Font sizeThe size of the font in points, defined as Small, Medium, or Large default values.Select a size.
Text styleThe format of the text, defined by pre-configured text styles.Select a style.
Text colorThe color of the button text. This should contrast with the background color.Select a color set.

Text

Set for text fields:

FieldDescriptionConfiguration
NameA descriptive name for the style. The name appears in the list of all text styles when configuring button styles and configuring Scene content.Enter text.
AlignmentThe horizontal position of the text: left, middle, or right.Select an alignment.
ColorThe color of the text.Select a color set.
EmphasisThe format of the text: bold, italic, or underline.Select an emphasis.
Font familyThe font of the text: serif, sans-serif, or a custom font stack.Select a font or font stack.
Font size (In-App Automation and Surveys)The size of the font in points, defined as Small, Medium, or Large default values.Select a size.
Font size (Scenes)The size of the font in points.Enter a numeric value.