[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-07。"],[],[],null,["Google Analytics \nplat_ios plat_android plat_web plat_flutter plat_cpp plat_unity \nGoogle Analytics is an app measurement\nsolution, available at no charge, that provides insight on app usage and user engagement. \nAt the heart of Firebase is Google Analytics, an unlimited analytics solution available at no charge. Analytics integrates across Firebase features and provides you with unlimited reporting for up to 500 distinct events that you can define using the Firebase SDK. Analytics reports help you understand clearly how your users behave, which enables you to make informed decisions regarding app marketing and performance optimizations.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/analytics/get-started?platform=ios)\n[Android](/docs/analytics/get-started?platform=android)\n[Web](/docs/analytics/get-started?platform=web)\n[Flutter](/docs/analytics/get-started?platform=flutter)\n\n[Unity](/docs/analytics/unity/start)\n[C++](/docs/analytics/cpp/start)\n\nKey capabilities\n\n|-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Unlimited Reporting | Analytics provides unlimited reporting on up to 500 distinct events. |\n| Audience Segmentation | Custom audiences can be defined in the Firebase console based on device data, custom events, or user properties. These audiences can be used with other Firebase features when targeting new features or notification messages. |\n\nHow does it work?\n\nGoogle Analytics helps you understand how people use your web, Apple, or\nAndroid app. The SDK automatically captures a number of events and user\nproperties and also allows you to define your own custom events to measure the\nthings that uniquely matter to your business. Once the data is captured, it's\navailable in a dashboard through the Firebase console. This dashboard\nprovides detailed insights about your data --- from summary data such as\nactive users and demographics, to more detailed data such as identifying your\nmost purchased items.\n\nAnalytics also integrates with a number of other Firebase\nfeatures. For example, it automatically logs events that correspond to\nnotification messages sent via the Notifications composer and provides reporting on the\nimpact of each campaign.\n\nAnalytics helps you understand how your users behave, so you can\nmake informed decisions about how to market your app. See the performance of\nyour campaigns across organic and paid channels to understand which methods are\nmost effective at driving high-value users. If you need to perform custom\nanalysis or join your data with other sources you can link your\nAnalytics data to BigQuery, which allows for more complex analysis like\nquerying large data sets and joining multiple data sources.\n\nIntegrations with other services\n\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| BigQuery | [Link your Firebase app to BigQuery](https://support.google.com/firebase/answer/6318765) where you can perform custom analysis on your entire Analytics dataset and import other data sources. |\n| Crashlytics | Analytics logs events for each crash so you can get a sense of the rate of crashes for different versions or regions, allowing you to gain insight into which users are impacted. You can also create audiences for users who have experienced multiple crashes and respond with notification messages directed at that audience. |\n| FCM | Analytics automatically logs events that correspond to notification messages sent via the Notifications composer and supports reporting on the impact of each campaign. |\n| Firebase Remote Config | Use Analytics audience definitions to change the behavior and appearance of your app for different audiences without distributing multiple versions of your app. |\n| Google Tag Manager | Integrating [Google Tag Manager](https://developers.google.com/tag-manager/) alongside Google Analytics enables you to manage your Analytics implementation remotely from a web interface after your app has been distributed. |\n\nImplementation path\n\n|---|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Connect your app to Firebase | Getting started with Analytics is easy. Just add the Firebase SDK to your new or existing app, and data collection begins automatically. You can view analytics data in the Firebase console within hours. |\n| | Log custom data | You can use Analytics to log custom events that make sense for your app, like E-Commerce purchases or achievements. |\n| | Create audiences | You can define the audiences that matter to you in the Firebase console. |\n| | Target audiences | Use your custom audiences to target messages, promotions, or new app features using other Firebase features, such as FCM, and Remote Config. |\n\nNext steps\n\n- Add Google Analytics to your [web](/docs/analytics/get-started?platform=web), [Apple](/docs/analytics/get-started?platform=ios), [Android](/docs/analytics/get-started?platform=android), or [Flutter](/docs/analytics/get-started?platform=flutter) app.\n- Download [sample code](/docs/samples)."]]