繁体   English   中英

Android Release + Firebase + Google Tag Manager + Google Analytics 的 ecommerce_purchase 问题

[英]Problem with ecommerce_purchase for Android Release + Firebase + Google Tag Manager + Google Analytics

我在 Android 上遇到 ecommerce_purchase 事件的问题。 所有其他事件都正常工作+调试版本工作正常。 我在 Firebase 控制台和 Google Analytics 中看到了事件。

问题仅发生在 Android 应用程序的发布版本上。 我在 Firebase 控制台中看到购买事件,但在 Google Analytics(通过 Google Tag Manager 和 Firebase 连接)中看不到。

知道如何解决这个问题吗?

ecommerce_purchase事件不会自动触发。

您可以参考以下链接了解更多详情。

https://support.google.com/firebase/answer/6317485?hl=en

无论如何,我只是手动触发ecommerce_purchase事件,它运行良好。

https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event#ECOMMERCE_PURCHASE

请注意: pricecurrency必须同时转账

Bundle params = new Bundle();
params.putDouble(Param.PRICE, 1.0);
params.putString(Param.CURRENCY, "USD"); // e.g. $1.00 USD

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM