使用一个 Google Analytics 帐户管理多个应用程序?
我刚刚设置了一个 Google Analytics for Mobile Apps 帐户,并且在我的 iPhone 应用程序中实现了 SDK,没有任何问题。但是,我还没有弄清楚如何用一个帐户管理多个应用程序。在处理网站时设置多个子域似乎相当容易,并且我注意到 javascript 代码有一个 setSubdomain 函数,但 iPhone SDK 中似乎不存在该函数。
有什么方法可以让谷歌分析区分同一帐户的不同应用程序吗?
I've just setup a Google Analytics for Mobile Apps account and I've implemented the SDK in my iPhone app with no trouble at all. However, I haven't figured out how to manage multiple apps with one account. It seems fairly easy to setup multiple subdomains when dealing with websites and I've noticed the javascript code has a setSubdomain function that doesn't seem to be present in the iPhone SDK.
Is there any way I can have google analytics differentiate my different apps for the same account?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 GA 中设置更多配置文件 - 每个应用程序一个配置文件。您最终应该得到 UA 代码,如 UA-XXXXX-1 和 UA-XXXXX-2 - XXXXX 是帐户标识符,后缀是“网络属性标识符” - 在这种情况下,每个应用程序都将拥有自己的属性标识符。它们与 GA 配置文件不一对一匹配,因为您可以为一个网络属性标识符拥有多个配置文件(因此您可以对同一数据拥有具有不同过滤器的配置文件),但在您的情况下,我建议为每个应用程序使用单独的网络属性 ID。
Set up more profiles in GA - one profile per app. You should end up with UA codes like UA-XXXXX-1 and UA-XXXXX-2 - the XXXXX is the account identifier, and the suffix is the 'web property identifier' - in this case each app will have it's own property identifier. They don't match up 1-to-1 to GA profiles, as you can have more than one profile for a web-property-identifier (so you can have profiles with different filters on the same data), but in your case I'd suggest a separate web property IDs for each application.
所以文档说:
在我看来,您只需设置“假网站”,例如 http://myapp1.yourwebsite.com ,然后您将获得一个新的 UA 号码,将其插入 myapp1 中的代码中。
App2 将具有您使用的不同 UA 号码。
So the docs say:
Appears to me you simply setup that "fake website" such as http://myapp1.yourwebsite.com and then you'll get a new UA- number which you plug into the code within myapp1.
App2 will have a different UA- number you use.