Repository navigation
How does Firebase In-App Messaging decide which campaign to show when multiple are eligible? #7463
Replies: 1 comment
|
Hi, I checked the Firebase In-App Messaging documentation, and there is an important distinction between campaign eligibility and campaign display priority.
Firebase documents several conditions:
A campaign can be eligible without being displayed immediately.
I could not find an official Firebase specification that guarantees a selection order when multiple eligible campaigns share the same trigger. In particular, I would not assume that the newest campaign, the most recently updated campaign, or the campaign with the latest start date always wins. That behavior should not be relied on unless Firebase documents it explicitly.
For predictable behavior, I would recommend:
For example, instead of making two campaigns compete for the same event, use separate events such as: Firebase.inAppMessaging.triggerEvent("onboarding_complete") Firebase.inAppMessaging.triggerEvent("upgrade_offer_eligible") If strict priority is a business requirement, I would manage the decision in the app's own campaign orchestration layer rather than depend on an undocumented Firebase selection order. One useful detail: Firebase's Android SDK also supports temporarily suppressing messages with "setMessagesSuppressed(true)". Suppressed messages are ignored; their trigger conditions must occur again after suppression is disabled. Official references:
My conclusion: Firebase documents campaign eligibility, triggers, scheduling, and frequency limits, but I would not claim a guaranteed ordering between simultaneously eligible campaigns without an explicit specification from the Firebase team. |
Uh oh!
There was an error while loading. Please reload this page.
My questions are:
Does Firebase In-App Messaging have any implicit priority logic (e.g., newer campaigns overriding older ones, or based on start time or update time)?
If two campaigns are triggered by the same event, how does the SDK determine which one to display?
All reactions