analytics.UserDimensions class Stay organized with collections Save and categorize content based on your preferences.
Interface representing the user who triggered the events.
Signature:
exportdeclareclassUserDimensionsConstructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(wireFormat) | Constructs a new instance of theUserDimensions class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| appInfo | AppInfo | App information. | |
| bundleInfo | ExportBundleInfo | Information regarding the bundle in which these events were uploaded. | |
| deviceInfo | DeviceInfo | Device information. | |
| firstOpenTime | string | The time (in UTC) at which the user first opened the app. | |
| geoInfo | GeoInfo | User's geographic information. | |
| userId | string | The user ID set via thesetUserId API. [Android](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#setUserId(java.lang.String)) [iOS](https://firebase.google.com/docs/reference/ios/firebaseanalytics/api/reference/Classes/FIRAnalytics#/c:objc(cs)FIRAnalytics(cm)setUserID) | |
| userProperties | { [key: string]:UserPropertyValue; } | A map of user properties set with the [setUserProperty](https://firebase.google.com/docs/analytics/android/properties) API.All values are [UserPropertyValue](providers_analytics_.userpropertyvalue) objects. |
analytics.UserDimensions.(constructor)
Constructs a new instance of theUserDimensions class
Signature:
constructor(wireFormat:any);Parameters
| Parameter | Type | Description |
|---|---|---|
| wireFormat | any |
analytics.UserDimensions.appInfo
App information.
Signature:
appInfo?:AppInfo;analytics.UserDimensions.bundleInfo
Information regarding the bundle in which these events were uploaded.
Signature:
bundleInfo:ExportBundleInfo;analytics.UserDimensions.deviceInfo
Device information.
Signature:
deviceInfo:DeviceInfo;analytics.UserDimensions.firstOpenTime
The time (in UTC) at which the user first opened the app.
Signature:
firstOpenTime?:string;analytics.UserDimensions.geoInfo
User's geographic information.
Signature:
geoInfo:GeoInfo;analytics.UserDimensions.userId
The user ID set via thesetUserId API. [Android](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#setUserId(java.lang.String)) [iOS](https://firebase.google.com/docs/reference/ios/firebaseanalytics/api/reference/Classes/FIRAnalytics#/c:objc(cs)FIRAnalytics(cm)setUserID)
Signature:
userId?:string;analytics.UserDimensions.userProperties
A map of user properties set with the [setUserProperty](https://firebase.google.com/docs/analytics/android/properties) API.
All values are [UserPropertyValue](providers_analytics_.userpropertyvalue) objects.
Signature:
userProperties:{[key:string]:UserPropertyValue;};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.