Not sure if this is the right forum but I assume the answer involves js/jquery so I took a chance.
I am trying to have a simple "Hi, you are in city name" display when someone visits my site. I know that I do NOT want to use anything that makes them have to share their location like with HTML5 bit I found.
I know there are a ton of services but I can't seem to get a straight answer of what I need to do to actually implement it.
One direction I've tried to go: I see that http://freegeoip.net/json/ gets the exact data I need, but now I need that to implement on my webpage so I can display it for the users.??
I also can't seem to figure out how to use the google api, but if that one needs the user to share the information, it wouldn't work for me anyway.
I'm not totally sure of how it finds the data because some sites that I go to seem to be spot on, while others are off by a bit but my IP remains the same.
Regardless...looking for some help and it would be greatly appreciated.