Each Geo Redirect service you create in our system will come with its own javascript snippet.

This piece of javascript code needs to be placed in the header of your Shopify website theme.liquid file

Steps:

  1. Go to Sales Channels
  2. Click on Online Store
  3. Click on Themes
  4. Click on Actions
  5. Click on Edit Code
  6. Click on Layout
  7. Select the theme.liquid file
  8. Copy the redirect code and paste it just after the <head> tag as shown below
  9. Save

IMPORTANT: Place it just after the opening <head> tag to ensure it processes first and does not get blocked by another script in your page. This will allow the redirect to work as fast as possible.

Our servers respond in 100 to 300 milliseconds so if the script is the first to process in your page, then the redirect will be almost instantaneous.

The redirect script is an asynchronous non blocking script, hence it will process while the rest of your web page loads. This will prevent any increase in page loading time for visitors who don't end up getting redirected.

Did this answer your question?