As long as you use the SDK or gtag.js, you don't need to write additional code to collect the following user dimensions from your mobile app and/or website. All of these user dimensions are available for use in Audience conditions, and some of them are also available as general report filters.
User dimension | Type | Description |
---|---|---|
Age (app, web) |
Text |
The age of the user by bracket: 18-24, 25-34, 35-44, 45-54, 55-64, and 65+. |
App store (app) |
Text | The store from which the app was downloaded and installed. |
App version (app) |
Text | The versionName (Android) or the Bundle version (iOS). |
Browser (web) |
Text | The browser from which user activity originated. |
City (app, web) |
Text | The city from which user activity originated. |
Continent (app, web) |
Text | The continent from which user activity originated. |
Country (app, web) |
Text | The country from which user activity originated. |
Device brand (app, web) |
Text | The brand name of the mobile device (such as Motorola, LG, or Samsung). |
Device category (app, web) |
Text | The category of the mobile device (such as mobile or tablet). |
Device model (app) |
Text | The mobile device model name (such as iPhone 5s or SM-J500M). |
Gender (app, web) |
Text |
The gender of the user (male or female). |
Interests (app, web) |
Text | The interests of the user (such as Arts & Entertainment, Games, Sports). |
Language (app, web) |
Text | The language setting of the device OS (such as en-us or pt-br). |
New/Established (app) |
N/A |
New: First opened the app within the last 7 days. Established: First opened the app more than 7 days ago. |
Operating system (app, web) |
Text | The operating system used by visitors to your website or mobile app. |
OS version (app, web) |
Text | The operating system version used by visitors to your website or mobile app (such as 9.3.2 or 5.1.1). |
Platform (app, web) |
Text | The platform on which your website or mobile app ran (such as web, iOS, or Android). |
Region (app, web) |
Text | The geographic region from which user activity originated. |
Subcontinent (app, web) |
Text | The subcontinent from which user activity originated. |
Automatically generated and assigned app-instance ID
Analytics automatically generates and assigns an app-instance ID to each instance of your app. The ID is used to compute user metrics throughout Analytics. The app-instance ID value must be a 32 hexadecimal without dashes or RFC 4122 version-4 UUID without the dashes. Otherwise, the GA4 measurement protocol submission will be dropped and not processed.
If you want to send unconsented data to GA4 measurement protocol, the app_instance_id must be created per event.
Learn more about how to access the ID via getAppInstanceId
.
Learn more about how to reset the ID via resetAnalyticsData
.
Data thresholds
You must meet the Analytics data thresholds to see demographic and interest data. Google may withhold data to prevent anyone from inferring the identity of individuals based on their demographics and interests. For example, if there are fewer than N instances of Gender=male in a report, then data for the male value may be withheld.
Google signals
Activating Google signals gives you more holistic demographic and interest data.
Google signals is data from users who sign in to Google. When Google signals data is available, Analytics associates event data it collects from users with the Google accounts of users who are signed in and consented (by enabling Ads Personalization) to share this information.
Geography dimensions
Geography dimensions (e.g., City, Region) are approximated based on the IP address of the traffic.