3

Noticed that Tracker.Current.Interaction.GeoData object doesn't have state property. However it has Region, City, Postalcode etc.

We have requirement to identify visitor state so and personalize the content.

On top of this we have requirement to identify state of visitor and use it for website business rules.

Wondering if there's an easy way to achieve this with out of box Geo location API and how reliable it is.

Thanks.

4

No, not out of the box.

According to Sitecore, there is no way to upgrade the precision on the Geo IP services provided. Out of the box, they state:

Inaccuracy in country, state, and city resolving. Sitecore IP Geolocation service may provide limited precision on a country, state, and city level.

For Australia, the precision of the service is around 66%.

Full list of precision by country, here: GeoIP2 City Accuracy

Recommendation

Build your own, if you need better precision.

If the precision of the Sitecore IP Geolocation Service is not acceptable due to business reasons, a custom provider could be implemented to connect Sitecore with any other system for resolving Geo IP data.

Source: Sitecore IP Geolocation Service accuracy

| improve this answer | |
  • Thanks, what are the options we could use without us having to spend lots of time and reinvent? – Nil Pun May 24 '18 at 12:21
  • I don't know. There are dozens of providers out there, but I don't know of any one specific that would offer a higher precision than what Maxmind's GeoIP2 already offers. – Mark Cassidy May 24 '18 at 12:34
2

If you wish to personalize by Australian State,'Region' is usually the 'State' (or 'Province', depending on country). Mark is right about data accuracy, but if you are just looking to pull what it THINKS the State is, you would usually personalize to Region.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.