Google Analytics(分析)的Firebase Analytics first_open [英] Firebase Analytics first_open from Google Analytics

查看:285
本文介绍了Google Analytics(分析)的Firebase Analytics first_open的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Android应用现在正在使用Google Analytics(分析).

My Android app right now uses Google Analytics.

但是,我也想添加Firebase Analytics.

However, I want to add Firebase Analytics as well.

比方说,该应用程序的新版本现在具有FA.

Let's say the new version of the app now has FA.

  1. 是否会为旧用户触发"first_open"事件,并将其标记为仅首次打开该应用程序?

  1. Will the 'first_open' event be triggered for old users and mark them as they've first opened the app only now?

是否有可能将FA与GA关联并为旧用户获得正确的"first_open"?

Is there any possibility to link FA with GA and get the correct 'first_open' for the old users?

我应该引入我自己的用户属性"来标记具有该应用程序先前版本的用户,当他们首次运行新版本时吗?

Should I introduce my own 'user property' to mark users that had a previous version of the app when they first run the new version?

也许是一个棘手的问题:如果用户安装了新版本,并且FA尝试设置这样的用户属性"(仅一次),但此刻该用户没有Internet连接.将来会以某种方式将此用户财产"发送给FA吗?

Maybe a tricky question: If a user installs the new version, and FA attempts to set such 'user property' (only once ever), but the user doesn't have an Internet connection at this moment. Will this 'user property' be sent to FA somehow in the future?

谢谢!

推荐答案

当首次启动具有Firebase Analytics的应用程序时,当前的Firebase Analytics库将报告first_open.这包括在将应用程序从不带Firebase的版本更新到带Firebase的版本之后启动.在使用Firebase更新到应用后,我们正在努力从用户中排除first_open,但此更改尚未进行.

The current Firebase Analytics library will report first_open when an app with Firebase Analytics is first launched. This includes launch after the app is update from version w/o Firebase to version with Firebase. We are working on excluding first_open from users after update to app with Firebase but this change is not in yet.

FA不了解应用程序中的GA,因此无法告知FA升级后的first_open与应用程序安装后的first_open.正如我前面提到的,这将在下一发行版中自动实现.

FA is not aware of GA in the app and there is no way to tell FA if this is first_open after upgrade vs first_open after app install. This will be automated in one of the next releases as I mentioned earlier.

设置用户属性将不起作用,因为在应用程序生命周期的早期以及您可以访问FA单例之前,将记录first_open.在记录first_open事件之前,您将没有机会设置用户属性.

Setting user property will not work as first_open is recorded early in the app life cycle and before you can get access to FA singleton. You will not have a chance to set the user property before first_open event is recorded.

设置用户属性与应用程序连接正交.设置该属性之前记录的所有事件都不会拥有该属性,设置该属性之后记录的所有事件都将具有该属性.仅当可以上传数据时,连接性才会受影响,而不会影响数据的内容.如果您的应用程序在离线设备上运行,则当设备建立连接时,将上传数据.数据本身几乎是相同的.

Setting user property is orthogonal to the app connectivity. All events logged before the property was set will not have it, all event logged after the property is set will have the property set. Connectivity only impacts when the data can be uploaded, not the content of the data. If your app is running on device that is offline the data will be uploaded when the device gains connectivity. The data itself is almost identical.

这篇关于Google Analytics(分析)的Firebase Analytics first_open的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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