GoogleAnalyticsTracker javadoc

2019-04-03 07:18发布

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.

5条回答
疯言疯语
2楼-- · 2019-04-03 07:49

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.

查看更多
干净又极端
5楼-- · 2019-04-03 08:10

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.
查看更多
贪生不怕死
6楼-- · 2019-04-03 08:13

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.

查看更多
登录 后发表回答