Interface representing a Firebase Analytics event that was logged for a specific user.
Signature:
export declare class AnalyticsEvent
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(wireFormat) | Constructs a new instance of the AnalyticsEvent 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 the AnalyticsEvent
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.
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;