analytics.GeoInfo interface

Interface representing the geographic origin of the events.

Signature:

exportinterfaceGeoInfo

Properties

PropertyTypeDescription
citystringThe geographic city.Example: "Sao Paulo".
continentstringThe geographic continent.Example: "South America".
countrystringThe geographic country.Example: "Brazil".
regionstringThe geographic region.Example: "State of Sao Paulo".

analytics.GeoInfo.city

The geographic city.

Example: "Sao Paulo".

Signature:

city?:string;

analytics.GeoInfo.continent

The geographic continent.

Example: "South America".

Signature:

continent?:string;

analytics.GeoInfo.country

The geographic country.

Example: "Brazil".

Signature:

country?:string;

analytics.GeoInfo.region

The geographic region.

Example: "State of Sao Paulo".

Signature:

region?:string;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-09-13 UTC.