## Functions

| Function | Description |
|---|---|
| [event(analyticsEventType)](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics#analyticsevent) | Registers a function to handle analytics events. |

## Classes

| Class | Description |
|---|---|
| [AnalyticsEvent](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.analyticsevent#analyticsanalyticsevent_class) | Interface representing a Firebase Analytics event that was logged for a specific user. |
| [AnalyticsEventBuilder](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.analyticseventbuilder#analyticsanalyticseventbuilder_class) | The Firebase Analytics event builder interface.Access via `functions.analytics.event()`. |
| [ExportBundleInfo](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.exportbundleinfo#analyticsexportbundleinfo_class) | Interface representing the bundle these events were uploaded to. |
| [UserDimensions](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.userdimensions#analyticsuserdimensions_class) | Interface representing the user who triggered the events. |
| [UserPropertyValue](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.userpropertyvalue#analyticsuserpropertyvalue_class) | Predefined or custom properties stored on the client side. |

## Interfaces

| Interface | Description |
|---|---|
| [AppInfo](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.appinfo#analyticsappinfo_interface) | Interface representing the application that triggered these events. |
| [DeviceInfo](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.deviceinfo#analyticsdeviceinfo_interface) | Interface representing the device that triggered these Firebase Analytics events. |
| [GeoInfo](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.geoinfo#analyticsgeoinfo_interface) | Interface representing the geographic origin of the events. |

## analytics.event()

Registers a function to handle analytics events.

**Signature:**

    export declare function event(analyticsEventType: string | Expression<string>): AnalyticsEventBuilder;

### Parameters

| Parameter | Type | Description |
|---|---|---|
| analyticsEventType | string \| [Expression](https://firebase.google.com/docs/reference/functions/firebase-functions.params.expression#paramsexpression_class)\<string\> | Name of the analytics event type to which this Cloud Function is scoped. |

**Returns:**

[AnalyticsEventBuilder](https://firebase.google.com/docs/reference/functions/firebase-functions.analytics.analyticseventbuilder#analyticsanalyticseventbuilder_class)

Analytics event builder interface.