Secure Your API Key to Store Locator

Modified on Fri, 1 Sep, 2023 at 3:32 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 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?

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