com.google.android.gms.analytics
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThis package provides classes to track analytics data using Google Analytics for Android applications.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGoogleAnalytics\u003c/code\u003e is the main entry point for interacting with Google Analytics and managing trackers.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTracker\u003c/code\u003e objects are used to compose and send data hits (e.g., screen views, events) to Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHitBuilders\u003c/code\u003e provide helper methods for constructing various types of hits with relevant parameters.\u003c/p\u003e\n"],["\u003cp\u003eSeveral components utilize Android system services like \u003ccode\u003eJobService\u003c/code\u003e, \u003ccode\u003eBroadcastReceiver\u003c/code\u003e, and \u003ccode\u003eService\u003c/code\u003e for background processing and data collection.\u003c/p\u003e\n"]]],["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"],null,[]]