countryIdThe 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
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
| Category | Geography |
|---|---|
| Scope | User-scoped |
| Populated | This dimension is populated automatically. |
| Is Calculated | - |
| Looker Studio | ✅ |
| Explorations | ✅ |
| API | ✅ |
| API Name | countryId |
| Audiences | ✅ |
| Customization | - |
| Filters/Comparisons | - |
| SubProperty Filters | - |
| Realtime | - |
| Custom Insight | - |
| Reporting Pickers | - |
| Benchmarking | - |
| Access Report | - |
| Formatting Type | COUNTRY |
| Attribution Model Name | - |
| Data restriction | - |
| Frontend Name | countryId |
| Backend Name | country_id |