analytics namespace

Functions

FunctionDescription
event(analyticsEventType)Registers a function to handle analytics events.

Classes

ClassDescription
AnalyticsEventInterface representing a Firebase Analytics event that was logged for a specific user.
AnalyticsEventBuilderThe Firebase Analytics event builder interface.Access viafunctions.analytics.event().
ExportBundleInfoInterface representing the bundle these events were uploaded to.
UserDimensionsInterface representing the user who triggered the events.
UserPropertyValuePredefined or custom properties stored on the client side.

Interfaces

InterfaceDescription
AppInfoInterface representing the application that triggered these events.
DeviceInfoInterface representing the device that triggered these Firebase Analytics events.
GeoInfoInterface representing the geographic origin of the events.

analytics.event()

Registers a function to handle analytics events.

Signature:

exportdeclarefunctionevent(analyticsEventType:string):AnalyticsEventBuilder;

Parameters

ParameterTypeDescription
analyticsEventTypestringName of the analytics event type to which this Cloud Function is scoped.

Returns:

AnalyticsEventBuilder

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.