analytics.GeoInfo interface
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
Interface representing the geographic origin of the events.
Signature:
export interface GeoInfo
Properties
Property |
Type |
Description |
city |
string |
The geographic city.Example: "Sao Paulo". |
continent |
string |
The geographic continent.Example: "South America". |
country |
string |
The geographic country.Example: "Brazil". |
region |
string |
The 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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-09-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-13 UTC."],[],[],null,["Interface representing the geographic origin of the events.\n\n**Signature:** \n\n export interface GeoInfo \n\nProperties\n\nanalytics.GeoInfo.city\n\nThe geographic city.\n\nExample: \"Sao Paulo\".\n\n**Signature:** \n\n city?: string;\n\nanalytics.GeoInfo.continent\n\nThe geographic continent.\n\nExample: \"South America\".\n\n**Signature:** \n\n continent?: string;\n\nanalytics.GeoInfo.country\n\nThe geographic country.\n\nExample: \"Brazil\".\n\n**Signature:** \n\n country?: string;\n\nanalytics.GeoInfo.region\n\nThe geographic region.\n\nExample: \"State of Sao Paulo\".\n\n**Signature:** \n\n region?: string;"]]