cityIdThe geographic ID of the city from which the user activity originated, derived from their IP address.
Source: Google Analytics Data API schema, official (docs) · also available in the Realtime API
An ID associated with the city from which user activity originated. For example, if activity originates from Seattle, the value '1027744' populates the dimension.
First seen 2022-04-14 · last seen 2026-08-10
| Category | Geography |
|---|---|
| Scope | User-scoped |
| Populated | This dimension is populated automatically. |
| Is Calculated | - |
| Looker Studio | ✅ |
| Explorations | ✅ |
| API | ✅ |
| API Name | cityId |
| Audiences | ✅ |
| Customization | - |
| Filters/Comparisons | - |
| SubProperty Filters | - |
| Realtime | - |
| Custom Insight | - |
| Reporting Pickers | - |
| Benchmarking | - |
| Access Report | - |
| Formatting Type | STRING |
| Attribution Model Name | - |
| Data restriction | - |
| Frontend Name | cityId |
| Backend Name | city_id |