Forum Discussion

FranzG's avatar
FranzG
Genius
7 years ago

What does Lithium use for Anonymous user geo location based on IP address?

Hi everyone, We are looking to implement country detection for users based on IP address and looking at the various options to accomplish this including third party services.   But I know that Lithi...
  • TariqHussain's avatar
    7 years ago

    FranzG - Unfortunately, lithium does not provide any context object for geo location. 

     

    Even for the logged in user, you only can get location which they set on there profile e.g coutry etc.

    There is a context object for the IP address which you can use to get geo location from third party. 

     

  • FranzG's avatar
    FranzG
    7 years ago

    Just to follow up on this thread.  We worked with Lithium Professional Services to implement a new context method to obtain the user's geo data based on their IP address.   So if anyone is interested in getting this functionality, I can confirm it is available via Professional Services.   I would imagine it would be a pretty quick project as it's been done now. :)