Skip to content

Troubleshooting

Basic Checks

My in-app message wasn’t shown for one user

  1. Was the user in the segment at session start, when the SDK requests new in-app messages?
  2. Was the user eligible or re-eligible to receive the in-app message per campaign targeting rules?
  3. Was the user affected by a frequency cap?
  4. Was the user in a control group? Check whether your campaign is configured is configured for AB Testing.
  5. Was a different, higher priority in-app message displayed in place of the expected message?
  6. Was my device in the correct orientation specified by the campaign?
  7. Was my message suppressed by the default 30-second minimum time interval between triggers, enforced by the SDK?

My in-app message wasn’t shown to all users on this platform

  1. Is your campaign configured to target either Mobile Apps or Web Browsers as appropriate? As an example, if your campaign only targets Web Browsers, it will not send to Android devices.
  2. Did you implement a custom UI, and is it working as intended? Is there other app-side custom handling or suppression that could be interfering with display?
  3. Has this particular platform and app version ever shown in-app messages successfully?
  4. Did the trigger take place locally on the device? Note that a REST call can’t be used to trigger an in-app message in the SDK.

My in-app message wasn’t shown for all users

  1. Was the Trigger Action set up properly in the dashboard, as well as in the app integration?
  2. Was a different, higher priority in-app message displayed in place of the expected message?
  3. Are you on a recent version of the SDK? Some in-app message types have SDK version requirements.
  4. Have sessions been integrated properly in your integration? Are session analytics working for this app?

My in-app message took a lot of time to appear

  1. If you are serving large image or video files from your CDN to an HTML based in-app message, verify that your files are optimized to be as small as possible and that your CDN is performant.
  2. Verify whether you have configured a delay for your in-app message on the dashboard.

  3. Depending on circumstances, in-app messages will either download or load relevant images from disk prior to display. If you are on a slow network connection or a very low performance devices, this process may take time. Ensure that your images are optimized to be as small as possible.

For more in-depth discussion of these scenarios, visit the advanced troubleshooting section.

Issues with Impressions and Click Analytics

Impressions and Clicks aren’t being logged

If you have set an in-app message delegate to manually handle message display or click actions, you must manually log clicks and impressions on the in-app message.

Impressions are lower than expected

  1. Triggers take time to sync to the device on session start, so there can be a race condition if users log an event or purchase right after they start a session. One potential workaround could be changing the campaign to trigger off of session start, then segmenting off the intended event or purchase. Note that this would deliver the in-app message on the next session start after the event has occurred.

  2. If the campaign is triggered by a session start or a custom event, you want to ensure that this event or session is happening frequently enough to trigger the message. Check this data on the Overview (for session data) or Custom Events pages:

Custom Events page showing a graph for the number of times the custom event Added to Favorites occurred over a one month period

Impressions are lower than they used to be

  1. Ensure no one unintentionally altered the segment or campaign since launch. Our segment and campaign changelogs will give you insight into changes that have been made, who made the change, and when it happened.

Link to view changelog on the Campaign Details page with seven changes since the user has last viewed the campaign

  1. Ensure you didn’t re-use your trigger event in a separate in-app message campaign with a higher priority.

Advanced Troubleshooting

Most in-app message issues can be broken down into two main categories: delivery and display. To troubleshoot why an expected in-app message did not display on your device, confirm that the in-app message was delivered to the device, then troubleshoot message display.

Troubleshooting delivery

The SDK requests in-app messages from Braze servers on session start. To check if in-app messages are being delivered to your device, you’ll need to make sure that in-app messages are being both requested by the SDK and returned by Braze servers.

Check if messages are requested and returned

  1. Add yourself as a test user on the dashboard.
  2. Set up an in-app message campaign targeted at your user.
  3. Ensure that a new session occurs in your application.
  4. Use the event user logs to check that your device is requesting in-app messages on session start. Find the SDK Request associated with your test user’s session start event.
    • If your app was meant to request triggered in-app messages, you should see trigger in the Requested Responses field under Response Data.
    • If your app was meant to request original in-app messages, you should see in_app in the Requested Responses field under Response Data.
  5. Use the event user logs to check if the correct in-app messages are being returned in the response data.
Troubleshoot messages not being requested

If your in-app messages are not being requested, your app might not be tracking sessions correctly, as in-app messages are refreshed upon session start. Also, be sure that your app is actually starting a session based on your app’s session timeout semantics:

The SDK request found in the event user logs displaying a successful session start event.

Troubleshoot messages not being returned

If your in-app messages are not being returned, you’re likely experiencing a campaign targeting issue:

  1. Your segment does not contain your user.
    • Check your user’s Engagement tab to see if the correct segment appears under Segments.
  2. Your user has previously received the in-app message and was not re-eligible to receive it again.
    • Check the campaign re-eligibility settings under the Delivery step of the Campaign Composer and make sure the re-eligibility settings align with your testing setup.
  3. Your user hit the frequency cap for the campaign.
  4. If there was a control group on the campaign, your user may have fallen into the control group.
    • You can check if this has happened by creating a segment with a received campaign variant filter, where the campaign variant is set to Control, and checking if your user fell into that segment.
    • When creating campaigns for integration testing purposes, make sure to opt out of adding a control group.

Troubleshooting display

If your app is successfully requesting and receiving in-app messages, but they are not being shown, device-side logic may be preventing display:

  1. Is the trigger event firing as expected? To test for this, try configuring the message to trigger using a different action (like session start) and verify whether it displays.

  2. Triggered in-app messages are rate-limited based on the minimum time interval between triggers, which defaults to 30 seconds.

  3. Failed image downloads will prevent in-app messages with images from displaying. Check your device logs to ensure that image downloads are not failing. Try removing your image temporarily from your message to see if that causes it to display.

  4. If you have set a delegate to customize in-app message handling, check your delegate to ensure it is not affecting the in-app message display.

  5. If the device orientation does not match the orientation specified by the in-app message, the in-app message will not display. Make sure that your device is in the correct orientation.

  6. If your in-app message is triggered by session start and you’ve set an extended session timeout, this will affect how quickly you can show messages. For instance, if your session timeout is set to 300 seconds, closing and re-opening the app in less than that time will not refresh the session, so an in-app message triggered by a session start will not display.

HOW HELPFUL WAS THIS PAGE?
New Stuff!