通过Firebase通知API发送消息时,是否可以获取推送通知统计信息(例如交付次数)并打开? [英] Is it possible to get push notification stats like count of deliveries and opens when sending messages through Firebase notification API?

查看:268
本文介绍了通过Firebase通知API发送消息时,是否可以获取推送通知统计信息(例如交付次数)并打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们即将从Parse.com切换到Firebase notifiaction API(在2017年1月退休),向我们的Android和iOS应用程序发送推送通知。

We are about to switch to Firebase notifiaction API from Parse.com (that are retiring their service in jan 2017) to send push notification to our android and iOS Apps.

现在我的问题是,我无法看到任何有关成功发送计数的统计信息,并在Firebase控制台中打开特定消息?发布到 https://fcm.googleapis.com/fcm/send 时获得的唯一信息是 message_id

My question now is that I can't see any statistics about counts of successful deliveries and opens in the Firebase Console for a specific message ? The only thing we get when posting to https://fcm.googleapis.com/fcm/send is a message_id

{"message_id":123456789}

但是我没有看到api上的任何文档如何使用这个<$ c $来跟踪发送的消息C> MESSAGE_ID 。 Firebase控制台只具有这些类型的统计信息,而不是通过api创建的消息。

But I havn't seen any documentation on a api how to follow up a sent message with this message_id. And the Firebase console has only the these kind of stats for messages created in the Console Gui, not the one create through an api post.

这些统计信息在Parse中是可用的。 COM。但是,Firebase云消息传递似乎有点低级,也许这些统计信息并不是出来的,所以他们可能必须在日志应用程序等中定制,通过收到消息时从应用程序发回事件并打开等。或者是有一个标准的方式,我已经错过了当阅读Firebase的通知api文档?

These stats was availible in Parse.com. But it seems as Firebase Cloud Messaging is a bit more low level, and perhaps these stats doesn't come out the box, so they might have to be custom made in a logging app etc by sending back events from the apps when messages as received and opened etc. Or is there a standardized way that I've missed when reading the Firebase Notification api docs ?

推荐答案

从Firebase通知控制台发送通知,您将获得有关接收和打开邮件的人数的统计信息。但是,Firebase通知还没有API。

When you send notifications from the Firebase Notifications console, you get statistics about how many people received and opened the messages. But there is no API (yet) for Firebase Notifications.

如果您使用的是Firebase云消息传递API( https://fcm.googleapis.com/fcm/send ),邮件统计信息不会显示在Firebase通知控制台中。在这种情况下,您可以(如AL所说)在Google Play开发者控制台中获取投放统计信息。

If you're using the Firebase Cloud Messaging API (https://fcm.googleapis.com/fcm/send), the message statistics don't show up in the Firebase Notifications console. You can (as AL. says) get delivery statistics in the Google Play Developer Console in that case.

这篇关于通过Firebase通知API发送消息时,是否可以获取推送通知统计信息(例如交付次数)并打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆