简体   繁体   English

带有移动配置文件的Google Analytics v1 SDK

[英]Google Analytics v1 SDK with Mobile Profile

Google Analytics has been working just fine for my ios app (with GA v1.0), but I created a new profile in the analytics suite and set the profile type as "App". Google Analytics(分析)对于我的ios应用(使用GA v1.0)一直运行良好,但是我在分析套件中创建了一个新的配置文件,并将配置文件类型设置为“ App”。 Now it's not working.. 现在不起作用..

I have a sneaking suspicion that the "App" selection only works with GA v2.0? 我暗中怀疑“应用”选项仅适用于GA v2.0? Can someone confirm? 有人可以确认吗?

BTW you can get create a new profile by opening a suite, click "Admin" (top right), then clicking "+ New Profile" (middle of page). 顺便说一句,您可以通过打开一个套件来创建一个新的配置文件,单击“管理员”(右上角),然后单击“ +新配置文件”(页面中间)。

So it turns out that when you make a new profile for an ID you select a new 因此事实证明,当您为ID创建新的配置文件时,您会选择一个新的

1) Website 1)网站

or 要么

2) App 2)应用程式

What I didn't know was that SDK v1 works with a Website profile and SDK v2 works with an App profile. 我不知道SDK v1与网站配置文件一起使用,而SDK v2与App配置文件一起使用。 So if your app WAS tracking with google analytics and is no longer tracking then make sure you're using website tracking with SDK v1 and app tracking with SDK v2. 所以,如果您的应用程序谷歌Analytics跟踪,并且不再跟踪,然后确保你使用的网站SDK v1和应用程序与SDK v2的跟踪跟踪。

*Extra tip, after your profile has been active for +-12 hours you can check your app against the real time tracking. *特别提示,在您的个人资料激活+ -12小时后,您可以对照实时跟踪检查您的应用。 If real time tracking works, then you know you've set everything up correctly. 如果实时跟踪有效,则说明一切设置正确。

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

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