Hi,
I currently have some custom coding the geolocates my customers to with the EU or outside the EU for VAT purposes.
The coding refers to this link: http://freegeoip.net/json/?callback=?
I've see that from July 1st Free GEOIP won't work anymore, can anyone point me in the direction of an alternative geolocation link that I can add into my coding?
Thanks
Laurelin
Hi Laurelin! There are a few apps that you could check out in the app store — try searching for "geo" / "country" / "redirect"... We went with this plugin some time ago because the reliablity / uptime of that freegeoip server was already pretty sketchy and it was a one-time purchase fee, rather than a monthly subscription: https://www.blackbeltcommerce.com/country-selector
You can use our app Geo-IP Redirect Manager
It allows you to redirect customers to the relevant store by detecting their IP address. To comply with EU’s ban on geo-blocking, the app let your customers choose their store through a pop-up. It does not add codes to your theme; adheres to SEO best practice, and Google would love the way you suggest localised content to your customers.
You're welcome to send me a message if you have any question. Happy to assist.
Hi Laurelin,
Yes sure, you can use free IP geolocation API to geolocate your customers. IP geolocation API offers both free and economical paid plans as well. Its free plan offers 30K requests/month. You can geolocate both IPv4 and IPv6 IP addresses and can get the response in both JSON and XML formats.
How to use IP Geolocation API?
In order to find geolocation information about an IP address, pass it as a query parameter like below. Note that apiKey is also passed as a query parameter for authorization. Then use the following curl example:
$ curl 'https://api.ipgeolocation.io/ipgeo?apiKey=API_KEY&ip=1.1.1.1'
The JSON response will be as follows:
{ "ip": "1.1.1.1", "continent_code": "OC", "continent_name": "Oceania", "country_code2": "AU", "country_code3": "AUS", "country_name": "Australia", "country_capital": "Canberra", "state_prov": "Queensland", "district": "South Brisbane", "city": "Brisbane", "zipcode": "4101", "latitude": "-27.47480", "longitude": "153.01700", "is_eu": false, "calling_code": "+61", "country_tld": ".au", "languages": "en-AU", "country_flag": "https://ipgeolocation.io/static/flags/au_64.png", "isp": "Cloudflare, Inc.", "connection_type": "", "organization": "", "geoname_id": "2207259", "currency": { "code": "AUD", "name": "Australian Dollar", "symbol": "A$" }, "time_zone": { "name": "Australia/Brisbane", "offset": 10, "current_time": "2019-08-06 17:09:59.399+1000", "current_time_unix": 1565075399.399, "is_dst": false, "dst_savings": 0 } }
For more details, visit our website https://ipgeolocation.io/.
Or contact us at support@ipgeolocation.io.
Regards,
Rameez
Subject | Author | Latest Post |
---|---|---|
Subject | Author | Posted |
---|---|---|
32m ago | ||
43m ago | ||
an hour ago | ||
an hour ago | ||
3 hours ago |
User | Count |
---|---|
326 | |
77 | |
72 | |
65 | |
56 |