0

我不明白为什么有这么多网址,以及它们的用途......

在 -- Admin --> Profiles Tab --> Profile Settings 下有一个网站 URL 选项卡

在 Admin --> Property Settings 下有另一个 URL 的选项卡

然后在 Java 代码中,您可以使用方法 tracker.trackPageView("/whateverYouWant.com"); 输入另一个 URL;

我注意到 tracker.trackPageView 设置了分析设置的位置这些是做什么用的?我找不到这方面的好文档。

请记住,这与网站的正常分析不同

4

1 回答 1

1

Google Analytics for mobile devices is a low-effort port of their existing website-oriented infrastructure. You need to phrase all of your app's events as website-like operations. And you need to configure the analytics infrastructure as if your app was a website.

This blog post has some more suggestions for how to map android/mobile state to the webbish analytics state: http://bitiotic.com/blog/2012/05/20/mapping-google-analytics-to-an-android-game-with-libgdx/

于 2012-07-03T16:02:59.650 回答