analytics namespace Stay organized with collections Save and categorize content based on your preferences.
Functions
| Function | Description |
|---|---|
| event(analyticsEventType) | Registers a function to handle analytics events. |
Classes
| Class | Description |
|---|---|
| AnalyticsEvent | Interface representing a Firebase Analytics event that was logged for a specific user. |
| AnalyticsEventBuilder | The Firebase Analytics event builder interface.Access viafunctions.analytics.event(). |
| ExportBundleInfo | Interface representing the bundle these events were uploaded to. |
| UserDimensions | Interface representing the user who triggered the events. |
| UserPropertyValue | Predefined or custom properties stored on the client side. |
Interfaces
| Interface | Description |
|---|---|
| AppInfo | Interface representing the application that triggered these events. |
| DeviceInfo | Interface representing the device that triggered these Firebase Analytics events. |
| GeoInfo | Interface representing the geographic origin of the events. |
analytics.event()
Registers a function to handle analytics events.
Signature:
exportdeclarefunctionevent(analyticsEventType:string):AnalyticsEventBuilder;Parameters
| Parameter | Type | Description |
|---|---|---|
| analyticsEventType | string | Name of the analytics event type to which this Cloud Function is scoped. |
Returns:
Analytics event builder interface.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-24 UTC.