开发者

How to put the ID of Google Analytics on my Android App?

I have this ID for my GA account: "UA 25832113-1"

ok, but... how I have to put it on my app? Which format?

A -开发者_高级运维> "UA 25832113-1"

B -> "UA-25832113-1"

C -> "25832113-1"


B is correct. (ie. 'UA-10876-1')

Official docs: http://code.google.com/apis/analytics/docs/concepts/gaConceptsAccounts.html#webProperty


B

if you are using the "Google Analytics SDK for Android" you shuld use something like this:

tracker = GoogleAnalyticsTracker.getInstance();
tracker.startNewSession("UA-25832113-1", this);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜