• Not Answered

Geolocation not giving me data,Tracker.Current.Session.Interaction.GeoData returning N/A for all properties?

Using 8.2, trying to use Geolocation Service in my code to get data about the user's location:

var geoData = Tracker.Current.Session.Interaction.GeoData;

geoData is not null, however every property is being returned as N/A (state = "N/A", country = "N/A", etc).

I've logged into the Geolocation service in Sitecore through the App center, and in the experience editor it shows that the service is working. I double checked that in Sitecore.xdb.config, Xdb.Enabled = true and Xdb.Tracking.Enabled = true.