简体   繁体   English

Android:Google Analytics(分析)是Google Play服务的一部分

[英]Android: Google Analytics as part of Google Play Service

Now that Google Analytics will become part of the Google Play Services 4.3, which changes do we need to expect? 现在Google Analytics将成为Google Play Services 4.3的一部分,我们需要做哪些更改?

do we still need to include the GoogleAnalytics jar into the Android project? 我们还需要将GoogleAnalytics jar包含在Android项目中吗?

what about dispatching the data? 那么调度数据呢? on this page https://developers.google.com/analytics/devguides/collection/android/v3/dispatch it's written: 在此页面上https://developers.google.com/analytics/devguides/collection/android/v3/dispatch写道:

The local dispatch methods referenced in this document have been marked as deprecated due to the forthcoming availability of Google Analytics as part of Google Play Services. 由于即将推出Google Analytics(分析)作为Google Play服务的一部分,因此本文档中引用的本地调度方法已被标记为已弃用。 Local dispatch methods may still be used in non-Google-experience devices. 本地调度方法仍可用于非Google体验设备。

but it doesn't explain how dispatching can be managed under the Google Play Services 但它没有解释如何在Google Play服务下管理调度

also, I wonder, is there the risk that some users won't have Google Play Services 4.3 installed, and so can't be tracked by Google Analytics? 我还想知道,是否存在某些用户未安装Google Play Services 4.3的风险,因此Google Analytics无法跟踪?

The documentation for Google Analytics SDK v4 (now part of Google Play Services) has just been published! Google Analytics SDK v4(现在是Google Play服务的一部分)的文档刚刚发布!

https://developers.google.com/analytics/devguides/collection/android/v4/ https://developers.google.com/analytics/devguides/collection/android/v4/

do we still need to include the GoogleAnalytics jar into the Android project? 我们还需要将GoogleAnalytics jar包含在Android项目中吗?

When it's part of Google Play Services, you'll import Google Play Services's library instead. 当它是Google Play服务的一部分时,您将导入Google Play服务的库。

but it doesn't explain how dispatching can be managed under the Google Play Services 但它没有解释如何在Google Play服务下管理调度

I think it just means that Google Play Services will make sure the reports will be delivered before the cut-off time, and that we shouldn't need to worry about implementation details. 我认为这只是意味着Google Play服务将确保报告将在截止时间之前发布,而且我们不需要担心实施细节。

also, I wonder, is there the risk that some users won't have Google Play Services 4.3 installed, and so can't be tracked by Google Analytics? 我还想知道,是否存在某些用户未安装Google Play Services 4.3的风险,因此Google Analytics无法跟踪?

Google Play Services is automatically updated in the background, so virtually all devices with Google Play Services installed should be updated (usually the roll-out takes about a few weeks) for 2.3+ devices. Google Play服务会在后台自动更新,因此几乎所有安装了Google Play服务的设备都应该针对2.3多台设备进行更新(通常需要几周的时间)。

If you worry about those users, or want to Analytics for non-Google devices like Kindle, you can still integrate the standalone library instead. 如果您担心这些用户,或者想要像Kindle这样的非Google设备使用Google Analytics,您仍然可以集成独立库。

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

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