Localize a Region in Store Locator

Created by Brett Mikulik, Modified on Mon, 07 Nov 2022 at 03:14 PM by Brett Mikulik


When Store Locator loads, it applies a default bias for the United States.

This article outlines how to change this bias to suit your store's needs and geolocate your locations more accurately.


Without the script to change the region. Searching Toledo automatically populates in the US.

Without the Script

With the script and using the GB region. Searching Toledo now loads within Spain.

With the script


  1. From the Shopify admin, select Apps.
  2. Select Store Locator.
  3. Select Settings, then Display Settings.

    Display Settings

  4. Copy and paste the following code into the Page Footer HTML:
    <script async

    Page Footer HTML

  5. Select Save.
  6. Select Need Help?, then Google Map API Key.
    Google Mapo API Key
  7. Copy your API key, then navigate back to Settings > General Settings.
  8. Within the Page Footer HTML field, replace YOUR_API_KEY with your copied API key.
  9. Replace XXwith your region.
    • Australia - AU
    • Canada - CA
    • France - FR
    • United Kingdom - GB
    • United States - US
  10. Region

  11. Select Save.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article