Using XP 10.1 & the GeoIp service.
I would like to get the Postal code of the visitor to execute some business logic and this is not for Personalization.
With the following code, I am able to get the latitude, longitude and the Country name, but all the other properties are null.
var latitude = Sitecore.Analytics.Tracker.Current.Interaction.GeoData.Latitude.GetValueOrDefault(0); var longitude = Sitecore.Analytics.Tracker.Current.Interaction.GeoData.Longitude.GetValueOrDefault(0); var contactLocation = Sitecore.Analytics.Tracker.Current.Interaction.GeoData;
Is it possible to get the postal code with GeoIp service.