以下是我们在 I/O 大会上宣布的所有内容,从新的 Firebase Studio 功能到集成 AI 的更多方式,内容非常丰富。
阅读博客。 使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。
Google Analytics
plat_ios plat_android plat_web plat_flutter plat_cpp plat_unity
Google Analytics 是一款免费的应用效果衡量解决方案,可提供关于应用使用情况和用户互动度的数据分析。
Firebase 的核心是
Google Analytics,一款无限制的分析解决方案,可免费使用。
Analytics 与各种 Firebase 功能集成,可以就多达 500 种不同事件(您可以利用 Firebase SDK 定义这些事件)无限制地向您提供报告。
Analytics 报告可帮助您清晰地了解用户的行为方式,让您可以就应用营销和性能优化制定明智的决策。
准备好开始了吗?选择您的平台:
iOS+ Android Web Flutter
Unity C++
主要功能
无限制的报告 | Analytics 可以针对多达 500 种不同类型的事件生成无限制的报告。 |
受众群细分 | 可以根据设备数据、自定义事件或用户属性在 Firebase 控制台中自定义受众群体。定位新功能或通知消息时,这些受众群体信息可以与其他 Firebase 功能结合使用。 |
工作原理
Google Analytics 可帮助您了解人们使用您的 Web、Apple 或 Android 应用的方式。SDK 会自动收集大量事件和用户属性,您也可以定义自定义事件,以便衡量对您的业务有特殊影响的因素。收集到数据后,可通过 Firebase 控制台到信息中心中查看。通过此信息中心,您可以深入、详细地了解您的数据,包括摘要数据(如活跃用户和受众特征)和更详细的数据(如识别您最畅销的商品)。
Analytics 还集成了 Firebase 的一些其他功能。例如,它自动记录与通过通知编辑器发送的通知消息相对应的事件,并就每个广告系列的影响提供报告。
Analytics 可帮助您了解用户的行为方式,以便您就如何推广您的应用制定明智的决策。您可以查看您的宣传活动在自然渠道和付费渠道的效果,以了解哪些方法对于吸引高价值用户最为有效。如果您需要执行自定义分析或者将您的数据与其他源数据联接,可以将自己的 Analytics 数据关联到 BigQuery,从而进行更复杂的分析,例如查询大型数据集以及联接多个数据源。
与其他服务整合
BigQuery | 将您的 Firebase 应用关联到 BigQuery,从而在该服务中对您的整个 Analytics 数据集进行自定义分析,并导入其他数据源。 |
Crashlytics | Analytics 会记录每次崩溃的相应事件,以便您了解不同版本或区域的崩溃率,从而洞悉哪些用户受到影响。您还可以为经历多次崩溃的用户创建受众群体,并采用特殊的通知消息回应此类受众群体。 |
FCM | Analytics 会自动记录与通过 Notifications Composer 发送的通知消息相对应的事件,并提供关于每个宣传活动的影响的报告。 |
Firebase Remote Config | 使用 Analytics 受众群体定义,您可以针对不同受众群体更改应用的行为和外观,而无需分发应用的多个版本。 |
Google 跟踪代码管理器 | 将 Google 跟踪代码管理器与 Google Analytics 集成后,您可以在应用分发后从网页界面远程管理您的 Analytics 实现。 |
实现流程
| 将您的应用关联至 Firebase | Analytics 非常易于上手。只需将 Firebase SDK 添加到新应用或现有应用,即可自动开始收集数据。数小时内,您就可以在 Firebase 控制台中查看分析数据。 |
| 记录自定义数据 | 您可以使用 Analytics 来记录对您的应用有意义的自定义事件,例如电子商务购买或业绩。 |
| 创建受众群体 | 您可以在 Firebase 控制台中定义对您有价值的受众群体。 |
| 定位受众群体 | 根据您的自定义受众群体数据,并结合使用其他 Firebase 功能(如 FCM 和 Remote Config)来定位消息、促销活动或新的应用功能。 |
后续步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-07。
[null,null,["最后更新时间 (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)."]]