IMPORTANT: In July 2025, we stopped releasing new versions of KTX modules, and we removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the previously released KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
[[["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 2025-07-21 UTC."],[],[],null,["# com.google.firebase.analytics\n=============================\n\nContains public API classes for Firebase Analytics.\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AnalyticsKt](/docs/reference/android/com/google/firebase/analytics/AnalyticsKt) | |\n| [ConsentBuilder](/docs/reference/android/com/google/firebase/analytics/ConsentBuilder) | Helper class used to enable fluent syntax in [setConsent](/docs/reference/android/com/google/firebase/analytics/package-summary#(com.google.firebase.analytics.FirebaseAnalytics).setConsent(kotlin.Function1)). |\n| [FirebaseAnalytics](/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics) | The top level Firebase Analytics singleton that provides methods for logging events and setting user properties. |\n| [FirebaseAnalytics.Event](/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event) | An Event is an important occurrence in your app that you want to measure. |\n| [FirebaseAnalytics.Param](/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Param) | Params supply information that contextualize Events. |\n| [FirebaseAnalytics.UserProperty](/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.UserProperty) | A UserProperty is an attribute that describes the app-user. |\n| [GoogleAnalyticsServerPreviewActivity](/docs/reference/android/com/google/firebase/analytics/GoogleAnalyticsServerPreviewActivity) | An [Activity](https://developer.android.com/reference/android/app/Activity.html) to preview or stop previewing a server-side Google Tag Manager container. |\n| [ParametersBuilder](/docs/reference/android/com/google/firebase/analytics/ParametersBuilder) | Helper class used to enable fluent syntax in [logEvent](/docs/reference/android/com/google/firebase/analytics/package-summary#(com.google.firebase.analytics.FirebaseAnalytics).logEvent(kotlin.String,kotlin.Function1)). |\n\nEnums\n-----\n\n|--------------------------------------------------------------------------------------------------------------------------|---------------------------------------|\n| [FirebaseAnalytics.ConsentStatus](/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.ConsentStatus) | The status value of the consent type. |\n| [FirebaseAnalytics.ConsentType](/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.ConsentType) | The type of consent to set. |"]]