analytics.UserDimensions class

Interface representing the user who triggered the events.

Signature:

exportdeclareclassUserDimensions

Constructors

ConstructorModifiersDescription
(constructor)(wireFormat)Constructs a new instance of the UserDimensions class

Properties

PropertyModifiersTypeDescription
appInfoAppInfoApp information.
bundleInfoExportBundleInfoInformation regarding the bundle in which these events were uploaded.
deviceInfoDeviceInfoDevice information.
firstOpenTimestringThe time (in UTC) at which the user first opened the app.
geoInfoGeoInfoUser's geographic information.
userIdstringThe user ID set via the setUserId 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 the UserDimensions class

Signature:

constructor(wireFormat:any);

Parameters

ParameterTypeDescription
wireFormatany

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 the setUserId 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;};