SpiceGems Knowledge Base
All AppsContact Us
GeoIP Country Redirect
GeoIP Country Redirect
  • 📖Overview
  • Getting Started
  • Country Redirect
    • Create Redirect Rule
    • Create Exception-Based Redirect Rule
    • Bypass the Redirection
    • Redirect Templates (Popup/Banner)
      • Customize Redirect Templates
    • Dynamic Flags
    • FAQs
      • How to redirect visitor forcefully?
      • How to add Flags with the countries in the switcher?
      • What is Same-domain?
      • Can the app perform instant redirection before the page load?
      • How to setup different redirection type on different rules
      • How to Create Popups in Multiple Languages
      • Can the app remember the user's selection when displaying a pop-up/banner
      • How can i test the redirect rules
      • Can I prevent the redirection for specific redirect rule
      • How to forward existing parameters while redirection
  • Country Blocker
    • Create Blocker Rule
    • Create an Exception Based Rule
    • Customize Blocker Template
    • Country Blocker Whitelist Settings
    • Bypass Blocker Rules
    • FAQs
      • How to block certain countries to access my store?
      • How to block certain visitors by IPs
      • How to Bypass from Blocker Rules
      • Can I set a custom message for blocked visitors?
      • Can I allow some users from the block location to access the store?
      • My analytics are showing discrepancies.
  • General Settings
    • Relative Redirect
    • Language Consideration with Relative Redirect
    • Whitelist (Rule based)
    • UTM Parameters
    • Page-Specific Redirection
    • URL Mapping
    • Alpha-2 country codes
  • GeoMarket Redirect
    • GeoLocation Popup
    • Geolocation Popup Editor
    • Auto-Redirect
  • GeoIP Switcher
    • Shopify Market Switcher
    • Manual Switcher
    • Preserve Path
    • Language Consideration
    • Customize switcher template
  • GDPR Info Bar
  • Global Whitelist Settings
  • General FAQs
    • How to disable the app?
    • Can I use the app on multiple stores in the same browser?
    • Foundation of a Redirect Rule
    • Understanding the App functionality
    • Login Issues
    • Disable Prevent Cross-Site Tracking in Safari on Mac
  • App Pricing
Powered by GitBook
On this page
  • Configure app on Canada (Local) store - (sg-localapp.myshopify.com):
  • Configure on Global store (line-item.myshopify.com):
  • Create a redirect rule
  1. General FAQs

Understanding the App functionality

PreviousFoundation of a Redirect RuleNextLogin Issues

Last updated 3 months ago

Using our GeoIP app, you can redirect visitors from the primary domain/URL to the destination domain/URL based on their country IP and the rules configured in the primary store app.

Our app works with the coordination of the domain and the IP of the visitors following the rules created for the required country visitors.

Let's understand the functionality with the help of an Example:

You have two stores:

  • Canadian Store - Local store

  • USA Store - Global store

Note: To manage traffic vice versa on both stores, you need to install the app on both Shopify stores

Using our GeoIP app, you can keep the Canadian visitors on Canada (local) store and redirect the rest of the world (global visitors) to the USA (Global) store.

With our GeoIP app, you can set up the rules in the app to implement the following functionality:

  1. Only Canadian visitors can access the Canada (local) store and all visitors except Canadians will be redirected to the USA (global) store.

  2. If Canadian visitors land on the USA (global) store then they will be redirected to the Canada (Local) store.

  • Local Store (sg-localapp.myshopify.com)

  • Global Store (line-item.myshopify.com)

Configure app on Canada (Local) store - (sg-localapp.myshopify.com):

In the Canada store, we only need to manage the Global Visitors.

For the above, you need to create only one rule as mentioned below.

  1. Rule Name: Global Rule (you can use any name as per your need)

  2. Visitors Country: Add all countries except Canada

  3. Redirect To Store URL: Global (USA) store URL (line-item.myshopify.com)

  4. Store Name: Line Item USA (you can use the name as per your need)

  5. Redirection Type: Display-based redirection (we are using pop-up for the redirection)

The set-up is done in the Canadian store.

Now to set up the redirection for Canadian visitors on the Global store, create a rule in the Global (USA) store app.

Configure on Global store (line-item.myshopify.com):

In the Global (USA) store, we only need to manage the Canadian Visitors.

For the above, you need to create only one rule as mentioned below.

  • Rule Name: Local Rule (you can use any name as per your need)

  • Visitors Country: Add the Canada

  • Redirect To Store URL: Local store URL (we are taking "sg-localapp.myshopify.com")

  • Store Name: SG LocalApp (you can use the name as per your need)

  • Redirection Type: Auto Redirection

It is recommended to review the before moving on to creating redirect rules.

interpretation of the redirect rule
Create a redirect rule
How to create exception-based redirect rule in the app?