GoogleAnalyticsTracker javadoc

发布于 2024-12-06 01:25:18 字数 164 浏览 1 评论 0原文

在哪里可以找到 Android 版 Google Analytics(分析)的 javadoc?我在项目主页上搜索了它,但在任何地方都找不到它。

Where can I find the javadoc for Google Analytics for Android? I searched for it on the project homepage, but couldn't find it anywhere.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

岁月蹉跎了容颜 2024-12-13 01:25:18

您可以在“GoogleAnalyticsAndroid.zip”文件的“javadocs.zip”文件中找到 Google Analytics for Android javadocs,该文件包含“libGoogleAnalyticsV2.jar”。
此处下载。

You can find the Google Analytics for Android javadocs in the "javadocs.zip" file in the "GoogleAnalyticsAndroid.zip" file, which the "libGoogleAnalyticsV2.jar" comes within.
Download it here.

快乐很简单 2024-12-13 01:25:18

有一个针对 Analytics 的 Google 代码页面,它向您展示了如何使用该 API。 Analytics-api-sample。您可能需要从 SVN 中查看它才能使用它。

There is a Google Code page for Anaylytics, it shows you how to use the API. Analytics-api-sample. You will probably have to check it out from SVN to use it.

爱给你人给你 2024-12-13 01:25:18

我最接近的文档来自 EasyTrackerAndroid_1.0.zip 的 ReadMe.txt,发现 这里

自述文件摘录:

ga_api_key (String) - the account ID used for tracking.  You need this set for
                      EasyTracker to start tracking your application.

ga_debug (Bool) - Set to true if you wish to see debug messages from the
                  GoogleAnalytics library in the Android log. Default is false.

ga_dryRun (Bool) - Set to true if you want to test your tracking code without
                   actually sending data to Google Analytics. Default is false.

ga_anonymizeIp (Bool) - Set to true to remove the last octet of the device's IP
                        Address from tracking data.  Default is false.

ga_sampleRate(Integer) - Set to a number between 0 and 100, inclusive.  Zero
                         will turn off all tracking while 100 will have every
                         application instance track.  Any number in between will
                         limit the number of application instances that actually
                         send tracking data to approximately that percentage.
                         Default is 100.

ga_dispatchPeriod (Integer) - Set to the time period in seconds to wait between
                              dispatches. Setting to zero will turn off
                              automatic dispatching.  Default is 60.

ga_auto_activity_tracking (Bool) - Set to true to track time spent in each
                                   Activity.  Set to false to track application-
                                   level information only.  Default is false.

The closest I have come to documentation is from the ReadMe.txt from EasyTrackerAndroid_1.0.zip found here.

Excerpt from the ReadMe:

ga_api_key (String) - the account ID used for tracking.  You need this set for
                      EasyTracker to start tracking your application.

ga_debug (Bool) - Set to true if you wish to see debug messages from the
                  GoogleAnalytics library in the Android log. Default is false.

ga_dryRun (Bool) - Set to true if you want to test your tracking code without
                   actually sending data to Google Analytics. Default is false.

ga_anonymizeIp (Bool) - Set to true to remove the last octet of the device's IP
                        Address from tracking data.  Default is false.

ga_sampleRate(Integer) - Set to a number between 0 and 100, inclusive.  Zero
                         will turn off all tracking while 100 will have every
                         application instance track.  Any number in between will
                         limit the number of application instances that actually
                         send tracking data to approximately that percentage.
                         Default is 100.

ga_dispatchPeriod (Integer) - Set to the time period in seconds to wait between
                              dispatches. Setting to zero will turn off
                              automatic dispatching.  Default is 60.

ga_auto_activity_tracking (Bool) - Set to true to track time spent in each
                                   Activity.  Set to false to track application-
                                   level information only.  Default is false.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文