iOS的Firebase Cloud Messaging通知未显示打开和分析 [英] Firebase Cloud Messaging Notifications for iOS not showing opened and analytics

查看:195
本文介绍了iOS的Firebase Cloud Messaging通知未显示打开和分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用FCM向iOS应用发送通知.通知在设备上的接收状况良好,但是在通知控制台GUI中无法获得打开"或转换"率.对于发送的近200 0000条通知,它始终显示"0已打开"和"0转换".

I'am using FCM to send notifications to iOS apps. The notifications are received on the device well, but I can not get the "Opened" or "Conversion " rate in the Notification console GUI. It always shows "0 opened" and "0 Conversion" for almost 200 0000 notifications sent.

我仔细检查了所有实现,但无法正常工作.

I double checked all the implementation but I can't get it working.

我在plist中将FirebaseAppDelegateProxyEnabled设置为YES.我实现了Firebase指南和文档中列出的所有方法.

I have FirebaseAppDelegateProxyEnabled set to YES in plist. I implemented all the methods listed on Firebase guides and docs.

我在Firebase分析窗格中也没有显示任何与通知相关的事件.

I don't have any notification related events showing in the Firebase analytics pane either.

推荐答案

要在Cloud Messaging>报告中启用开放计数指标,您需要在Analytics(分析)> Events(事件)中将notification_open事件标记为转换:

To enable Open count metric in Cloud Messaging > Reports, you need to mark notification_open event as conversion in Analytics > Events:

那是Firebase自动生成的事件,但默认情况下未启用.

That's the event automatically generated by Firebase but not enabled by default.

这篇关于iOS的Firebase Cloud Messaging通知未显示打开和分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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