User current geo location

Sathish Kannan asked on July 18, 2016 17:45

Hi,

Is there any way to find current location of the user? For example, if user opens my website in "Richmond" then I should display image, if user opens my website in "South California" then it should not

I tried using below macro but it always displaying South California, even if my site opened in different states

{% Contains(AnalyticsContext.CurrentGeoLocation.State.DisplayName, "South California") #%}

Any suggestions please welcome.

Recent Answers


Anton Grekhovodov answered on July 18, 2016 19:26

Did you enable a contact geolocation by IP? If not, just read this article: Using geolocation for contacts

0 votesVote for this answer Mark as a Correct answer

Sathish Kannan answered on July 19, 2016 13:22

Yes I did, but still not working. Is it mandatory to download MaxMind GeoLite database from Kentico Client Portal?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.