Search code examples
firebasefirebase-cloud-messagingfirebase-notifications

Not Seeing "Opened" Firebase Notification Stats


I'm manually handling firebase notifications by overriding the onHandle intent of the FirebaseMessagingService.

And using the intent I generate a notification.

Is there a way to manually report the notification opened to the Firebase at all because I'm not getting opened statistics reported back to the firebase console.

As above, even when letting firebase notifications get handled per normal, these open notifications are not being reported either.

Thanks!


Solution

  • For those curious to know my workaround at this time.

    We run push campaigns. For each campaign we created a distinct, reusable event. We register the event "campaign_received" and "campaign_opened" When a message is received, we trigger the event. When the notification is opened, we trigger the event.

    Then, under each event, we just select the event, and file their stats per day, week, month, etc.

    One needs to select the event to get to the event dashboard area, since the event list view shows the total amount of events sent and or received.

    For bespoke notifications the 500 event limit might be reached quite quickly, so be sure to bundle your notifications into reusable event categories if possible.