在 Appsflyer 中,在 android 设备中单击时 "number of actions" 事件不会更新。但是在模拟器中工作

In Appsflyer the "number of actions" event is not update when clicked in android device. But working in emulator

在 Appsflyer 中,操作次数 事件在 android 设备中点击时不会更新。但是在模拟器中工作。可能是什么原因?如何解决?我已将我的设备添加到白名单中。但我的点击事件仍然不会增加 appsflyer 仪表板中的计数。我错过了什么。 已经添加了一些事件。他们工作正常。在我添加的特定事件中,没有在 appsflyer 中发布任何更新。

eventValue.put("af_device_id", <hidden text>);
eventValue.put(AFInAppEventParameterName.CONTENT, <hidden text>);
eventValue.put(AFInAppEventParameterName.CONTENT_ID, <hidden text>);
eventValue.put("af_variant_id", <hidden text>);
eventValue.put(AFInAppEventParameterName.CURRENCY, <hidden text>);
eventValue.put(AFInAppEventParameterName.PRICE, <hidden text>);
eventValue.put(AFInAppEventParameterName.CONTENT_TYPE, <hidden text>);
eventValue.put("af_user_phone", <hidden text>);
eventValue.put("af_user_name", <hidden text>);
AppsFlyerLib.getInstance().trackEvent(context, "af_recommendations_click", eventValue);

如果没有看到调试日志很难说,但如果事件是从一个设备(模拟器)而不是另一个(android 设备)发出的,则可能是连接问题。

您可以使用以下 API 打开 AppsFlyer SDK 调试日志: AppsFlyerLib.getInstance().setDebugLog(true);

本文提供了一些有关调试日志和行为的有用指示:https://support.appsflyer.com/hc/en-us/articles/360001559405-Testing-AppsFlyer-SDK-integration#debugging

如果这不能帮助解决问题,我建议向 AppsFlyer 支持提交工单:support@appsflyer.com(使用您从设备收集的 SDK 调试日志)

我的数据范围有误。所以事件没有出现。