cityThe city from which the user activity originated.
Source: Google Analytics Data API schema, official (docs) · also available in the Realtime API
The city from which user activity originates. For example, if someone visits your website from New York City, the text 'New York' 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 | city |
| Audiences | - |
| Customization | ✅ |
| Filters/Comparisons | ✅ |
| SubProperty Filters | ✅ |
| Realtime | ✅ |
| Custom Insight | ✅ |
| Reporting Pickers | ✅ |
| Benchmarking | - |
| Access Report | - |
| Formatting Type | STRING |
| Attribution Model Name | - |
| Data restriction | - |
| Frontend Name | city |
| Backend Name | city |