com.google.android.gms.analytics
Interfaces
ExceptionParser
|
This interface is responsible for parsing a
Throwable and
providing a short, meaningful description to report to Google Analytics. |
Logger
|
This interface is deprecated. Logger interface
is deprecated. Use adb shell setprop log.tag.GAv4 DEBUG to enable debug
logging for Google Analytics. |
Classes
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["This package provides classes to track analytics data using Google Analytics for Android applications."],["`GoogleAnalytics` is the main entry point for interacting with Google Analytics and managing trackers."],["`Tracker` objects are used to compose and send data hits (e.g., screen views, events) to Google Analytics."],["`HitBuilders` provide helper methods for constructing various types of hits with relevant parameters."],["Several components utilize Android system services like `JobService`, `BroadcastReceiver`, and `Service` for background processing and data collection."]]],["Google Analytics uses several interfaces and classes for data collection and reporting. `ExceptionParser` parses errors for reporting, while `ExceptionReporter` catches and reports uncaught exceptions. `GoogleAnalytics` configures analytics and creates `Tracker` objects to send data. Various `HitBuilders` like `EventBuilder`, `ScreenViewBuilder`, and `SocialBuilder`, construct different types of hits. `AnalyticsJobService`, `AnalyticsReceiver`, and `AnalyticsService` are core components used by Google Analytics, and `CampaignTrackingReceiver` tracks install referrers. Some classes, such as `Logger`, `AppViewBuilder`, `ItemBuilder`, `TransactionBuilder`, are deprecated.\n"]]