Tracking Notifications sent via FCM API

822 views
Skip to first unread message

Cihan Çil

unread,
Mar 5, 2017, 11:35:35 AM3/5/17
to Firebase Google Group
Is there any way to find out how many user notified exactly and how many of them opened notifications?

Ian Mcdowall

unread,
Mar 6, 2017, 4:04:14 AM3/6/17
to Firebase Google Group
Not at present. Those features are available for notifications sent via the Firebase Console but not for those sent via the FCM API.
Regards, Ian
Message has been deleted

Ian Mcdowall

unread,
Mar 6, 2017, 10:01:46 AM3/6/17
to fireba...@googlegroups.com
Unfortunately, that tool doesn't cover notifications being opened. It covers totals delivered in a day but does not break them down further.

On Mon, Mar 6, 2017 at 6:46 AM, Alrasheed Labiano Alawi <alrashee...@gmail.com> wrote:
I think you're looking for the FCM Statistics tool -- https://support.google.com/googleplay/android-developer/answer/2663268?hl=en


On Monday, March 6, 2017 at 12:35:35 AM UTC+8, Cihan Çil wrote:
Is there any way to find out how many user notified exactly and how many of them opened notifications?

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/rpB3vzVj6sE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/8694e6ba-83ed-4c1a-99b7-96aab547178b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dr...@basedata.solutions

unread,
Oct 30, 2017, 7:26:19 PM10/30/17
to Firebase Google Group
Is this on the roadmap?  The Firebase Console lacks a few key features which only the API provides.

Ian Mcdowall

unread,
Oct 31, 2017, 1:45:57 AM10/31/17
to fireba...@googlegroups.com
I'm afraid that I cannot provide any detail on roadmaps but we are looking at finding ways to provide this information.

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/rpB3vzVj6sE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

dr...@basedata.solutions

unread,
Oct 31, 2017, 1:28:07 PM10/31/17
to Firebase Google Group
Thanks for the response.

For those who really need this, here is what I'm trying w/ my next release.  This only applies to iOS.

set the `content_available` = true flag in the FCM API call options.  

This will cause iOS to wake on receipt of the notification.  This will trigger the following delegate callback in AppDelegate:

"func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void)"

within that callback, you can publish a Firebase Analytics event such as "NotificationDelivered"

When the user opens the app by triggering the notification, you can then publish an event such as "NotificationOpened" (take care not to use the reserved event "notification_open")

With each of those events, you can fetch the value in the notification's UserInfo key "gcm.message_id" and include that as a custom property of your event.  Now you can use that value to estimate delivery rates vs open rates.

On Monday, October 30, 2017 at 10:45:57 PM UTC-7, Ian Mcdowall wrote:
I'm afraid that I cannot provide any detail on roadmaps but we are looking at finding ways to provide this information.
On Mon, Oct 30, 2017 at 11:26 PM, <dr...@basedata.solutions> wrote:
Is this on the roadmap?  The Firebase Console lacks a few key features which only the API provides.


On Monday, March 6, 2017 at 1:04:14 AM UTC-8, Ian Mcdowall wrote:
Not at present. Those features are available for notifications sent via the Firebase Console but not for those sent via the FCM API.
Regards, Ian

On Sunday, March 5, 2017 at 4:35:35 PM UTC, Cihan Çil wrote:
Is there any way to find out how many user notified exactly and how many of them opened notifications?

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/rpB3vzVj6sE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages