IP address blocking

IP address blocking

fmgazzo
Visitor
1 0 0

Hello,

 

I am one of the admins on a Shopify website with several international markets.

Is it possible to make it so any visitors to the site from a USA IP address can only see the version of the website for the USA?

Please advise.

thanks,

 

fmg

 

Reply 1 (1)

ihsfr
Shopify Partner
14 1 1

Yes, this is possible, though would require some custom javascript to get going. 

 

You could use a service like https://ipapi.co/ to grab the user's geo-location, and if the user is from the US, you could redirect them to the USA site, or show them US content, etc.

 

If you'd like, I'd be happy to help with this 🙂

Want to improve your Facebook Pixels or TikTok Pixels performance? Give us a try: https://apps.shopify.com/partners/galacticapps