TagSpy
← Geography

City ID

dimension
cityId

The 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

Community note

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

Attributes

CategoryGeography
ScopeUser-scoped
PopulatedThis dimension is populated automatically.
Is Calculated-
Looker Studio✅
Explorations✅
API✅
API NamecityId
Audiences✅
Customization-
Filters/Comparisons-
SubProperty Filters-
Realtime-
Custom Insight-
Reporting Pickers-
Benchmarking-
Access Report-
Formatting TypeSTRING
Attribution Model Name-
Data restriction-
Frontend NamecityId
Backend Namecity_id

More in Geography