The geolocation variables give access to some basic location data based on the visitor's IP address.
The values are only available if the geolocation feature is enabled under Settings -> Locations/Geolocation -> IP Geolocation.
This data is often used to display different information to the website visitor based on their IP address.
Please keep in mind, however, that the IP address location may not be the visitor's actual location. The IP address may be their internet service provider (ISP) and be based on the location of that ISP. It's best to use this information for approximate locations.
The following values are available:
Holds the name of the city that the IP address is associated with.
Holds whether the two-character name for the country. Examples:
Holds whether the full country name.
Holds whether the name of the county within the state/province.
Holds a boolean value on if the geolocation feature is enabled
Holds the latitude value for the IP address.
Holds the longitude value for the IP address.
Holds the name of the region that the IP address is in.
Holds the two-character name of the region that the IP address is in.