Geo Data – Country, Region, Latitude, Longitude in Google Data Studio

Google Data Studio provides the ‘Geo’ data type for geographical data. You see this data type when you create or edit a data source schema in Data Studio:

Use the ‘Geo’ data type if you want Data Studio to expect geographic data (like a city, region, country, continent) when processing a field in the underlying data source.

‘Geo’ data types are generally used with Google Maps or Geo Charts :

You can insert a Google Map or Geo Chart in your Data Studio report from the ‘Insert’ menu:

 

 

Following are the various Geo data types available in Google Data Studio:

  • Country
  • Country code
  • Continent
  • Continent code
  • SubContinent
  • SubContinent Code
  • Region
  • Region code
  • City
  • City code
  • Metro
  • Metro code
  • Latitude, Longitude
  • Postal Code
  • Address

#1 Country 

Use the ‘country’ data type if you want Data Studio to expect a country name when processing a field in the connected data source. 

For example, the ‘United Kingdom’ is an example of a country name. 

The following are examples of country names:

 

You can get the full list of valid country names from here: https://www.worldometers.info/geography/alphabetical-list-of-countries/

#2 Country code

Use the ‘Country code’ data type if you want Data Studio to expect a country code (instead of country name) when processing a field in the connected data source.  

For example, the country code for ‘United Kingdom’ is ‘GB’.

The following are examples of country codes:

You can get the full list of valid country codes from here: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Get the ebook on Google Data Studio (50+ Pages)Get the ebook on Google Data Studio (50+ Pages)

#3 Continent

Use the ‘Continent’ data type if you want Data Studio to expect a continent name when processing a field in the connected data source. 

The following are examples of valid continent names (in the context of Data Studio):

  • Africa
  • Oceania
  • Americas
  • Asia
  • Europe

#4 Continent code 

Use the ‘Continent code’ data type if you want Data Studio to expect a continent code (instead of continent name) when processing a field in the connected data source.  

For example, the continent code for Europe is 150. 

The following are examples of continent codes:

You can get the full list of the valid continent codes from here: https://developers.google.com/chart/interactive/docs/gallery/geochart#Continent_Hierarchy

#5 SubContinent 

Use the ‘SubContinent’ data type if you want Data Studio to expect a sub-continent name when processing a field in the connected data source.  

For example, ‘Northern Europe’ is a sub-continent name. 

The following are examples of sub-continent names:

You can get the full list of the valid sub-continent names from here: https://developers.google.com/chart/interactive/docs/gallery/geochart#Continent_Hierarchy

#6 SubContinent Code 

Use the ‘SubContinent Code’ data type if you want Data Studio to expect a sub-continent code (instead of sub-continent name) when processing a field in the connected data source.  

For example, the sub-continent code for Northern Europe is 154. 

You can get the full list of the valid sub-continent codes from here: https://developers.google.com/chart/interactive/docs/gallery/geochart#Continent_Hierarchy

#7 Region 

Use the ‘Region’ data type if you want data studio to expect a region name when processing a field in the connected data source. 

For example, ‘California’ is a region in the ‘United States’. Use Google to find region names of a particular country. 

Note: Region data is not available for all countries. 

#8 Region code

Use the ‘Region Code’ data type if you want Data Studio to expect a region code (instead of region name) when processing a field in the connected data source.  

For example, the region code for ‘California’ is ‘US-CA’

Note: Region code data is not available for all countries. 

#9 City 

Use the ‘City’ data type if you want data studio to expect a city name when processing a field in the connected data source. For example, ‘London’ is a city. 

#10 City code

Use the ‘City code’ data type if you want Data Studio to expect a city code (instead of city name) when processing a field in the connected data source.  

For example, the city code for ‘London’ is 1006886. 

You can get the list of the valid city codes from here: https://developers.google.com/analytics/devguides/collection/protocol/v1/geoid

#11 Metro

The ‘Metro’ data type is only applicable to the United States. 

Use this data type if you want Data Studio to expect a metro name when processing a field in the connected data source. 

For example, ‘New York’ is a metro. 

You can get the list of metro cities in the United States from here: https://en.wikipedia.org/wiki/Cities_and_metropolitan_areas_of_the_United_States

#12 Metro code

The ‘Metro code’ data type is only applicable to the United States. 

Use this data type if you want data studio to expect a metro code (instead of metro name) when processing a field in the connected data source. 

For example, the metro code for ‘New York’ city is 200201.

Note: Metro codes for the US start with 200

#13 Latitude, Longitude

Use the ‘Latitude, Longitude’ data type if you want Data Studio to expect a Latitude, Longitude information when processing a field in the connected data source. 

Use the Latitude and Longitude Finder https://www.latlong.net/ to get the Latitude and Longitude data for a particular geo-location. 

You can also use this tool to find GPS coordinates: https://www.maps.ie/coordinates.html

Here is how you enter the latitude and longitude information in Google Sheets:

This latitude and longitude information is for London, UK

If we use these coordinates on Google Maps (embedded in a Data Studio report), it is going to look like the one below:

#14 Postal Code

Use the ‘Postal code’ data type if you want data studio to expect a postcode (zip code) information when processing a field in the connected data source.

For example, the following is the postcode of Heathrow airport terminal 2:

If we use this postcode field on Google Maps (embedded in a Data Studio report), it is going to look like the one below:

#15 Address

Use the ‘Address’ data type if you want data studio to expect full address when processing a field in the connected data source.

For example, the following is the full address of the Prime Minister of the UK:

If we use this address field on Google Maps (embedded in a Data Studio report), it is going to look like the one below:

Related Articles

 

Register for the FREE TRAINING...

"How to use Digital Analytics to generate floods of new Sales and Customers without spending years figuring everything out on your own."



Here’s what we’re going to cover in this training…

#1 Why digital analytics is the key to online business success.

​#2 The number 1 reason why most marketers are not able to scale their advertising and maximize sales.

#3 Why Google and Facebook ads don’t work for most businesses & how to make them work.

#4 ​Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics.

#5 The number 1 reason why conversion optimization is not working for your business.

#6 How to advertise on any marketing platform for FREE with an unlimited budget.

​#7 How to learn and master digital analytics and conversion optimization in record time.



   

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and Beyond
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

Himanshu Sharma

Digital Marketing Consultant and Founder of Optimizesmart.com

Himanshu helps business owners and marketing professionals in generating more sales and ROI by fixing their website tracking issues, helping them understand their true customers' purchase journey and helping them determine the most effective marketing channels for investment.

He has over 12 years of experience in digital analytics and digital marketing.

He was nominated for the Digital Analytics Association's Awards for Excellence. The Digital Analytics Association is a world-renowned not-for-profit association that helps organisations overcome the challenges of data acquisition and application.

He is the author of four best-selling books on analytics and conversion optimization:

error: Alert: Content is protected !!