Show Menu
TOPICS×

Audience: in-app message

You can configure audience options for in-app messages, including view, trigger, and trait options.
  1. In your app, click Messaging > Manage Messages > Create Message > Create In-App .
  2. On the Audience page, type information in the following fields:
    • View
      Select the option that triggers a message to display:
      • Always
        This option means that the message is displayed each time the trigger occurs.
      • Once
        This option means that the message is displayed only the first time the trigger occurs.
      • Until Click-Through
        This option means that means that the message is displayed each time the trigger occurs until the user clicks through. This trigger applies only to full screen and alert messages. Most messages need to redirect or use a resource from the internet and will not display if offline. To always show the message regardless of network connectivity, select the Show Offline check box.
    • Trigger
      Select an option from the drop-down list and select a condition. For example, you could select Launched from the first drop-down list and Exists from the second drop-down list. You can also specify custom context data that needs to be in the triggering hit to display the message.
      If you select multiple triggers, for the message to display, all triggers must occur on the same hit.
    • Traits You can determine who should see the in-app message when it is triggered and filter (segment) the audience to hits that have specified data. For example, you can define a rule in which Points of Interest contain Denver. This filter allows you to show the message to customers that are in one of your points of interest with Denver in the name, at the trigger time.

Additional information about traits and triggers

Triggers and traits use data that is passed to Analytics from your app. These values are passed as context data, mapped variables, and metrics. A variable is a text-based value, and a metric is a numerical value.
To see the mapping of these key value pairs in the Mobile Services UI and validate the value for your trigger, click Manage App Settings > Manage Variables & Metrics >, which displays the following tabs:
  • Standard Variables & Metrics
  • Custom Variables
  • Custom Metrics
After you validate the mapping, select the appropriate matcher or logical operator to configure your audience for the message.

Selecting metrics and variables

The following scenarios help you determine whether to select a metric or a variable as your trigger:

Metrics

A metric is a number, and an example is the number of purchases.
  1. Click Manage Messages > Create Message .
  2. Complete the following steps in the Trigger section on the Audience tab:
    1. Select a standard event such as Launched and select exists .
    2. Select a second trigger that is a custom data point and that is mapped to a metric.
    3. Under Number , select a matcher option.

Variables

A variable is a text string that is a unique identifier, and examples include country, airport, and so on.
  1. Click Manage Messages > Create Message .
  2. Complete the following steps in the Trigger section on the Audience tab:
    1. Select a standard event such as Launched and select exists .
    2. Select a second trigger that is a custom data point and that is mapped to a variable.
    3. Under Text , select a matcher option.
For more information about context data, variables, and metrics, see Managing your app .