为推送通知设置分析支持

improve this page | report issue


概述

要对推送通知设置分析支持,必须设置以下 JNDI 属性以初始化和配置“分析”插件。 “分析”插件由推送通知服务提供。 如果未设置分析支持,那么推送通知服务在缺省情况下会将事件记录到系统记录器中。

<jndiEntryjndiName = "imfpush/mfp.push.services.ext.analytics" value = "com.ibm.mfp.push.server.analytics.plugin.AnalyticsPlugin"/>

需要使用以下属性来配置和初始化“MobileFirst Analytics”插件。 在提供的端点上,将使用用户名和密码来向“分析”服务认证。

<jndiEntryjndiName = "imfpush/mfp.push.analytics.endpoint" value = "http://<mfpserver:port>/analytics-service/rest/data"/>
<jndiEntryjndiName = "imfpush/mfp.push.analytics.user" value = "<username>"/>  
<jndiEntryjndiName = "imfpush/mfp.push.analytics.password" value = "<password>"/>

要跟踪从推送通知服务派出的通知,请确保将以下属性设置为 true(这是缺省值):

<jndiEntryjndiName = "mfp.push.analytics.events.notificationDispatch" value = "true"/>

要禁止发送此事件,请将该属性设置为 false

有关在分析控制台中查看推送通知报告的信息,请参阅推送通知报告

有关推送服务的 JNDI 属性的更多信息,请参阅 MobileFirst Server推送服务的 JNDI 属性列表注:IBM Mobile Foundation 安装程序将创建这些属性并将其设置为缺省值。

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on June 01, 2020