使用FCM时的通知跟踪 [英] Notifications tracking when using FCM

查看:92
本文介绍了使用FCM时的通知跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在不使用Firebase服务仪表板的情况下发送推送通知时,是否可以跟踪通知状态(无论是用户打开还是取消)?

Is it possible to track the notification status, whether it was opened or canceled by the user, when I send a push notification without using firebase services dashboard?

我正在使用Advanced REST client,我想在将有效载荷发送到https://fcm.googleapis.com/fcm/send

I am using Advanced REST client and I would like to record data about the notifications status when sending payload to https://fcm.googleapis.com/fcm/send

推荐答案

转化跟踪仅内置于Firebase通知中.我认为我们没有公共API可以填充这些图表.

Conversion tracking is only built into Firebase Notifications. I don't think we have a public API to feed into those charts.

但是,如果您通过Firebase Cloud Messaging发送消息,则可以:

But if you send your messages through Firebase Cloud Messaging, you could:

    通过显式调用 Firebase Analytics
  1. 在您的应用中记录转换事件
  2. 在您的 Firebase数据库中记录有关转化用户的更多详细信息
  1. record the conversion events in your app by calling Firebase Analytics explicitly
  2. record more details about the converting user in your Firebase Database

您可以轻松地以这种方式完成相同类型的功能.

You could easily accomplish the same type of functionality that way.

这篇关于使用FCM时的通知跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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