Secure Your API Key to Store Locator

Overview

API keys are unique identifiers that allow you to connect to a specific service that an application program provides. Because these keys are unique to a specific user, it's important to always keep your API key safe and secured.

To secure your Google API key to Store Locator, please follow the steps below.

 


 

Set-Up

  1. Log in to the Google Maps Platform Console.
  2. Select Console.
  3. Select APIs & Services, then select Credentials.

    Credentials_Area_Console.png

  4. Under Application restrictions, select HTTP referrers (web sites).

    Select HTTP Referrers

  5. Enter your store URL in the following formats:
    https://yourstore.myshopify.com/apps/store-locator
    http://yourstore.myshopify.com/apps/store-locator
    https://yourdomain.com/apps/store-locator
    http://yourdomain.com/apps/store-locator

    Note: If you modified the app proxy URL in Shopify, please make sure it matches. For more information, please visit our article that explains Changing the store URL for Store Locator.

  6. Select Save.

    Note: These changes can take up to five minutes to take effect.

Was this article helpful?
0 out of 0 found this helpful