Skip to content

In-App Message (popup)

In-App Messages (popups) surface content to users while they're using your app or web service, prompting immediate action. They drive high conversion rates by getting customers to act right away—such as instantly moving them to a specific page.

Unlike other channels, immediacy can be important for in-app messages. The setup method differs significantly depending on whether immediate display timing matters more or precise audience targeting matters more.

  • Immediate display timing matters: Use the In-App Message channel in the console so messages can display right away based on triggers. When the configured display audience and period match, the message displays immediately at that moment.
  • Precise audience targeting matters: Set up the in-app message within a journey using customer journey automation. Because automation takes some time to run, display isn't immediate, but once it's queued for display, a precisely personalized in-app message can be shown exactly at that user's next trigger point.

To prevent popups from appearing at unintended times, FlareLane in-app messages require your team to decide the display timing yourself. This is called an in-app message display trigger.

Display triggers are special triggers you integrate via the SDK, separate from the events you've integrated.

Examples:

  • A trigger to display an in-app message when the customer enters the home screen (e.g., home)
  • A trigger to display an in-app message when the customer enters the My Page screen (e.g., mypage)
  • A trigger to display an in-app message when the customer reaches the purchase complete screen (e.g., complete_purchase)
  • A trigger to display an in-app message when the customer reaches the content creation complete screen (e.g., complete_write)
  • ...

2. Integrate Code for Each Display Trigger

Section titled “2. Integrate Code for Each Display Trigger”

Once the display trigger names are decided, insert the displayInApp function for each trigger. When the function runs, it finds one in-app message eligible to display for that trigger and displays it.

Refer to the SDK reference for each platform (Mobile, Web), or add it via GTM.

// Run the following function when the home screen loads
FlareLane.displayInApp("home");
// Passing data can be used as a detailed trigger filter (e.g., display an in-app message when a specific product is viewed)
FlareLane.displayInApp("view_product", { "product_id": 12345, "category": "food" });

Once the display trigger is decided, create the content. You can get started easily using the variety of in-app message templates FlareLane has prepared in advance.

In-app message template selection screen showing available popup layout options

After selecting a template, you can easily define the in-app message's display trigger and actions. The actual in-app display timing uses the display trigger you defined in step 1.

In-app message editor showing trigger, display period, audience, and button action settings

When a device runs an in-app message display trigger, the following additional conditions are also checked.

  • Display period: If set, FlareLane checks whether the current time falls within the period range, applying the device's timeZone.
  • Display audience: If set, FlareLane checks whether the device meets the conditions based on segment filters. Note that events cannot be used as segment filters here, and you also cannot directly specify an existing segment as the condition.

The actions you can set on an in-app message button are as follows.

NameDescription
URLDirectly specify the destination path on click, such as an https URL or deep link.
URL & deep link guide
Custom actionDirectly implement the action to perform on click as an SDK function. (setInAppMessageActionHandler implementation required: App, Web)
CloseYou can also set a "Don't show again for N days" option. "Don't show again" is set on a per-device basis.
Push subscription requestDisplays a prompt to allow push notification permissions, or moves the user to the settings screen.

To test a created in-app message on a real device, click the test send button on the in-app message detail page.

A test-sent in-app message is displayed once at the highest priority at the next display timing.

For test sends, the "Don't show again" option is ignored.

Custom HTML in-app message editor with code input and clickable element configuration

If you need your own special in-app message design and behavior, you can implement an HTML-based in-app message yourself.

You can freely build the UI by writing HTML code, and after implementing click listeners on buttons and other elements, integrate the following script. To measure click statistics, add a property such as data-flarelane-clickable-id="click1".

Function NameDescription and Example
FlareLaneIAM.trackEvent(name, data)Triggers an event.
FlareLaneIAM.setTags(tags)Integrates tags.
FlareLaneIAM.openUrl(url)Opens a specific URL.
FlareLaneIAM.close(minutes)Closes the in-app message and sets the re-display period.
FlareLaneIAM.requestPushPermission()Requests push notification subscription permission.
FlareLaneIAM.executeAction(actionId)Performs a custom action.

Among in-app messages within the same display trigger, the message to display is determined by the following priority.

  1. Test sends and in-app messages within customer journey automation
  2. Highest priority first (High–Medium–Low)
  3. Oldest creation date first

FlareLane provides statistical metrics that let you analyze the performance of displayed in-app messages and gain insights.

Bottom Sheet in-app message size specifications and layout preview

Modal in-app message size specifications and layout preview

Full Screen in-app message size specifications and layout preview