firebase / firebase/firebase-android-sdk

[Feature Request] Support filtering triggers by Analytics Event Parameters

Open
#7,638 0 comments 2 reactions 0 assignees View on GitHub
api: analytics type: feature request
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 23h
Merged PRs (30d)
34

Description

What feature would you like to see?
Support triggering In-App Messages based on Analytics Event Parameters, not just Event Names.

Currently, the AnalyticsConnector used by FIAM strips away event parameters and only forwards the event name. This limits granularity. I propose extending the triggering logic to support validation of the event's Bundle parameters (e.g., using regex or exact match). This would allow triggers to target specific event states (e.g., trigger only if event="refresh" AND status="fail").

How would you use it?
Scenario: Targeted Error Handling I track a refresh_result event in my app. I want to show a "Help/Retry" In-App Message only when the refresh fails.

Current Behavior: The IAM triggers on every refresh_result event (including successful ones), which disturbs normal users.
Desired Behavior: I can configure the IAM to fire only when the refresh_result event contains the parameter result="fail".
This feature would enable precise user targeting and prevent message spamming during successful user flows.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the AnalyticsConnector and FIAM triggering logic to see where event names are forwarded and where Bundle parameters are discarded. Done means an In-App Message can match an Analytics Event name together with a parameter such as result="fail", without triggering for other parameter values; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.