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 via functions.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:
export declare function event(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.