analytics.AnalyticsEvent class Stay organized with collections Save and categorize content based on your preferences.
Interface representing a Firebase Analytics event that was logged for a specific user.
Signature:
exportdeclareclassAnalyticsEventConstructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(wireFormat) | Constructs a new instance of theAnalyticsEvent class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| logTime | string | UTC client time when the event happened. | |
| name | string | The name of the event. | |
| params | { [key: string]: any; } | A map of parameters and their values associated with the event.Note: Values in this map are cast to the most appropriate type. Due to the nature of JavaScript's number handling, this might entail a loss of precision in cases of very large integers. | |
| previousLogTime | string | UTC client time when the previous event happened. | |
| reportingDate | string | The date on which the event.was logged. (YYYYMMDD format in the registered timezone of your app). | |
| user | UserDimensions | User-related dimensions. | |
| valueInUSD | number | Value parameter in USD. |
analytics.AnalyticsEvent.(constructor)
Constructs a new instance of theAnalyticsEvent class
Signature:
constructor(wireFormat:any);Parameters
| Parameter | Type | Description |
|---|---|---|
| wireFormat | any |
analytics.AnalyticsEvent.logTime
UTC client time when the event happened.
Signature:
logTime:string;analytics.AnalyticsEvent.name
The name of the event.
Signature:
name:string;analytics.AnalyticsEvent.params
A map of parameters and their values associated with the event.
Note: Values in this map are cast to the most appropriate type. Due to the nature of JavaScript's number handling, this might entail a loss of precision in cases of very large integers.Signature:
params:{[key:string]:any;};analytics.AnalyticsEvent.previousLogTime
UTC client time when the previous event happened.
Signature:
previousLogTime?:string;analytics.AnalyticsEvent.reportingDate
The date on which the event.was logged. (YYYYMMDD format in the registered timezone of your app).
Signature:
reportingDate:string;analytics.AnalyticsEvent.user
User-related dimensions.
Signature:
user?:UserDimensions;analytics.AnalyticsEvent.valueInUSD
Value parameter in USD.
Signature:
valueInUSD?:number;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.