How to automatically redirect visitors based on their country
Posted By: Dylan Hunt
Published: November 30, 2016 16:48
This content is unfortunately outdated, and I have personally moved all of my retargeting to This site
Very commonly with Shopify Plus (since they give you up to 3 stores for internationalization), we will need to redirect people to other sites based on where they are. So here is a script you can use to automatically redirect someone to a separate domain if they are from a certain country:
This can also be done in a way that doesn't redirect them right away, but displays a popup asking them if they want to go to the other store.
Feel free to reach out to me directly for questions about further customization
Stay in Touch
If you enjoyed this article and it helped you, I would love you more than you know if you entered your email below so that I can let you know of future blog posts and guides that can improve your Shopify store, or inform you until you are ready to start your business.