TagSpy
← Geography

Country ID

dimension
countryId

The geographic ID of the country from which the user activity originated, derived from their IP address. Formatted according to ISO 3166-1 alpha-2 standard.

Source: Google Analytics Data API schema, official (docs) · also available in the Realtime API

Community note

The ISO 3166 ID associated with the country from which user activity originated. For example, if activity originates from the United States, the value 'US' 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 NamecountryId
Audiences✅
Customization-
Filters/Comparisons-
SubProperty Filters-
Realtime-
Custom Insight-
Reporting Pickers-
Benchmarking-
Access Report-
Formatting TypeCOUNTRY
Attribution Model Name-
Data restriction-
Frontend NamecountryId
Backend Namecountry_id

More in Geography