background map

Shopify
Geo Redirection

Redirect your Shopify website by visitor country, state & city using Geo Targetly. Easy to setup, advanced features and simple integration with Shopify.

Start free trial No credit card required

How does Geo Targetly Work?

Geo Targetly is a purpose built geo targeting software as a service product and one of it's core features is Geo Redirection.

Our Geo Redirect service can easily be used to redirect your Shopify store visitors by country, state and city in a few simple steps. Geo Targetly provides a complete visual interface for setting up your geolocation based redirects so no coding or web development skills are required.

Geo Targetly's Geo Redirect service is perfect for Shopify store owners who operate multiple stores in various countries. Geo Targetly can be used to inter-redirect visitors between stores to ensure they purchase from the right country. You can also make use of advanced geo redirection features such as passing the product page URL onto the redirect URL so a customer gets sent to the same product in your other store.

shopify geo targetly geo redirect

Shopify and Geo Targetly

Geo Targetly is an easy to use system where you can use our visual step by step process to setup and manage geo redirects.

Integration into your Shopify store is simple and only requires you to copy and paste our JavaScript code into your store HTML template files.

Not to worry if you don't have experience in inserting code into the template header. The Shopify app marketplace provides plenty of apps that make it easy for anyone to insert code into the store HTML template. Just install an app such Add Head Code and paste our JavaScript code for your redirects to become active.

shopify dashboard

How To Create Geo Redirects For a Shopify Store?

Let's get started! See how you can easily create geo IP based redirects for your Shopify store using Geo Targetly.

Read more about these step in our Geo Redirect Docs

Start: Signup & create a new Geo Redirect

Sign up for a new account at our registration page to start a 14 day free trial.

Using the menu on the left, create a new Geo Redirect by clicking on 'Create New' > 'Geo Redirect'

geo targetly dashboard

Step 1: Enter your Shopify Store URL

Name your redirect to make it easy to find if you have many! Then enter your Shopify store URL which customers will visit. You can enter the main URL if you need to redirect the entire store or a particular product URL if you only need to redirect that prdouct.

shopify geo redirect step 1

Step 2: Setup optional features

Geo Targetly's Geo Redirect system has been built with inter-store redirection in mind. We provide options to allow customers to be redirected across your stores to the same product URL or even visit the original Shopify store without getting forced redirected.

Some of the features include 1: Redirect all pages or only certain pages, 2: Redirecting visitors from external sources only, 3: Bypassing redirects if visitor is from a particular domain or IP. Follow the instructions in our setup to select the options that apply to your Shopify website.

shopify geo redirect step 2

Step 3: Configure geo redirects

This is the step where you can construct your geo redirects. You can create as many redirects each with its own location segment if you have multiple Shopify stores.

Each location segment can be made up of multiple countries, states/regions, cities, IP addresses and latitude-longitude-radius zones.

Advanced options such as 1. Passing query strings onto the redirect URL, 2.Passing subdirectory paths on the redirect URL and 3. Using a custom URL map are provided if you require them.

Note that a Geo Redirect service is dedicated to a single Shopify website to redirect visitors from this website to others. If you need to redirect visitors from other Shopify websites, you will need to create a separate Geo Redirect service. There is no limit on the number of redirect services you can create with one account!

shopify geo redirect step 3

Step 4: Insert code into Shopify

Save your geo redirect setup to get a redirect JavaScript code. Copy this code and place it just after the opening head tag in your theme.liquid file or in a head code insert app you installed.

The great thing is once the code is placed into Shopify, it does not need to be touched. All changes can be made directly in Geo Targetly.

shopify geo redirect step 4

Sales Channels > Online Store > Themes > Actions > Edit Code > Layout > theme.liquid

shopify code injector

Step 5: Test your redirects

To ensure your geo redirection is setup and working correctly, it is important to test it. You can use a VPN to test if you are redirecting certain countries.

We also make testing easy by providing a location injection testing tool where you can set a location to test from for your particular device IP. This is useful when you want to test state or city based redirects which can't be done using a VPN.

shopify geo redirect step 5

Step 6: View analytics data

Once your redirect is up and running, jump back on our platform to get detailed analytics on the number of visitors getting redirected for each geo redirect you have created. See stats on a daily and monthly basis to get an idea of how your conversions are performing.

shopify geo redirect step 6

Geo Targetly Features Overview

Geo Targetly has been designed specifically to handle geo redirection and its complications. Our system has been tried and tested over the years to maximize performance and accuracy. We make it easy to create, manage and deploy geo redirects for a vast number of platforms without the need for any coding.

To give you an idea of some of our redirection features, below is a quick list:

1. Create multiple redirect-location pairs
2. Redirect by country, state/region, city, IP, lat-long-radius
3. Redirect entire website or selected pages
4. Non intrusive location detection from visitor IP address
5. Bypass redirection for certain IPs and domain referrers
6. Default redirects for non targeted segments
7. Pass query strings and subpaths onto redirect URL
8. Built in analytics
7. Simple integration requiring a few lines of JavaScript

Geo target your audience & boost conversion rates