Secure Your API Key to Store Locator

Modified on Thu, 14 Nov at 10:52 AM

Overview

This article outlines how to generate an API key for you to use with Store Locator.

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.


Setup

  1. Log in to the Google Maps Platform Console
  2. Select Console
  3. Select APIs & Services, then select CredentialsCredentials_Area_Console.png
  4. Under Application restrictions, select HTTP referrers (web sites)
  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. Save changes

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

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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article