SpiceGems Knowledge Base
All AppsContact Us
GeoIP Country Redirect (Legacy)
GeoIP Country Redirect (Legacy)
  • Overview
  • Getting Started
  • Setup the app for redirection
  • Interpretation of a Redirect Rule
  • Create Redirect Rule
  • Create Exception-Based Redirect Rule
  • Relative-Redirect
  • UTM Parameters in the GeoIP Country Redirect
  • Configuring the Display Settings
  • Auto Redirect
  • Remember Customer’s Choice Settings
  • Whitelist Settings
  • Bypass the Redirection
  • Setup the app for GDPR
  • FAQs
    • How to disable the app?
    • How to redirect visitor automatically without asking for user permission?
    • How to add countries in bulk in redirection rule
    • How to customize the Popup/Banner
    • How to exclude some IPs and URLs from redirection
    • How to test the app & redirect rules
    • Can I use the app on multiple stores in the same browser?
    • Disable Prevent Cross-Site Tracking in Safari on Mac
  • Alpha-2 country codes
  • Customization gallery
Powered by GitBook
On this page
  1. FAQs

How to test the app & redirect rules

PreviousHow to exclude some IPs and URLs from redirectionNextCan I use the app on multiple stores in the same browser?

Last updated 3 months ago

In this post, I am going to cover the topic on how to test the redirect rules after setting up the app.

Let’s consider a scenario:

I’m running a store with the GeoIP country Redirect installed on it.

The app is set up so that the US and Canadian visitors will be displayed a POPUP to get redirected to their country store i.e.

It is difficult for me to test the redirect rules because I am located in India.

In order to test the redirect rules for different country locations, we will use the VPN extension.

A VPN app or extension allows you to set a virtual location in the browser. So, using it you can test the behavior of your store for other country visitors.

Here are the steps involved:

Step 1. Install a VPN app or extension. In our case, we are using the HOLA VPN. You can install it using the link

Step 2. Make sure the app is enabled on your store.

Step 3. Visit your store and set the country in the VPN for which you want to test the redirect rules.

In our case, we are visiting with the country selected as the “US” in the VPN.

Step 4. The POPUP is displayed as per the selected country in the VPN. Click on “YES” to redirect or “NO” to stay on the same store.

Please note that when the visitors click Yes/No button then it is saved in the cookies.

Step 5. Clear the browser cookies and Repeat step 3 by selecting the country location as CANADA in the VPN.

Step 6. Sometimes, due to the browser cookies, the VPN does not set an accurate location. So, in order to get the best results clear the browser cookies before testing the redirect rules with the VPN.

Similarly, you can test the redirect rules for other countries as per your requirements.

https://all-round-store.myshopify.com
https://sg-localapp.myshopify.com/
https://hola.org/
https://all-round-store.myshopify.com