AndroidApplicationRecord和谷歌Analytics(分析) [英] AndroidApplicationRecord and Google Analytics

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

问题描述

我正在开发可以安装并通过AndroidApplicationRecord(AAR打开的应用程序,看到的 http://developer.android.com/guide/topics/nfc/nfc.html )。

I'm developing an application which can be installed and opened via an AndroidApplicationRecord (AAR, see http://developer.android.com/guide/topics/nfc/nfc.html).

如果用户安装其它来源的我加入了谷歌Analytics(分析)引荐给谷歌播放链接,以便跟踪设备的源来的应用程序。

If a user installs the app coming from other sources I'm adding a Google Analytics referrer to the Google Play link in order to track the source of installation.

有没有办法这个引荐加入到AAR或作为附加NDEFRec​​ord因此,这个源可跟踪呢?

Is there a way to add this referrer to the AAR or as an additional NDEFRecord so that this source can be tracked as well?

推荐答案

在AAR背后的过程是完全自动的。该AAR包含了应用程序,并没有其他的包名。那么Android将搜索Play商店的应用程序,包名称。所以没办法什么补充,据我可以告诉。

The process behind the AAR is completely automatic. The AAR contains the package name of the app and nothing else. Android will then search for that package name in the Play Store app. So no way to add anything to that, as far as I can tell.

你可以尝试,而不是共享一个AAR,是共享含有Play商店URI与它的谷歌Analytics(分析)引用的URI记录什么。我不知道很多关于谷歌Analytics(分析),但它看起来像你对我可以在安装您的应用程序后,赶引荐,例如见获取Android的谷歌Analytics(分析)引用标记从Android Market安装的应用程序后,获得引用。

What you could try instead of sharing an AAR, is sharing an URI record containing a Play store URI with your Google Analytics referrer in it. I don't know much about Google Analytics, but it looks to me like you can catch the referrer upon installation of your app, see e.g Get Android Google Analytics referrer tag and Get referrer after installing app from Android Market.

另一种办法是,当这股AAR到另一台设备来跟踪使用谷歌Analytics(分析)中已安装的应用程序共享的事件。

Yet another approach could be to track the sharing events using Google Analytics in the already installed app when it shares the AAR to another device.

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

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