end of FreeGeoip - help!

New Member
12 0 0

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

0 Likes
Highlighted
Shopify Expert
704 0 67

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

I'm a million different people
0 Likes
Shopify Expert
43 0 1

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.

Find more about apps for your store.
★ Geo IP Redirect Manager: https://apps.shopify.com/geo-ip-redirect-manager
★ Connected Inventory: https://apps.shopify.com/connected-inventory
★ Theme Save: https://apps.shopify.com/theme-save
0 Likes
Tourist
11 0 2

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

 

0 Likes