[ Web Proxy ]
URL:
Viewing: https://firebase.google.com/docs/reference/functions/firebase-functions.analytics [Back]  [Original]

analytics namespace  |  Cloud Functions for Firebase Skip to main content
Overview Fundamentals AI Build Run Reference Samples
Firebase [Firebase]
Send feedback

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 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:

AnalyticsEventBuilder

Analytics event builder interface.

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-04-24 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-24 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page