Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

https://github.com/magesuite/google-api/blob/1.x/view/frontend/layout/default.xml

This module allows adding Google API keys that are then passed to the scripts that are based on the google maps service.

...

Stores -> Configuration -> Sales -> Google Api

...

Settings:

Name

Comment

Api Key

https://developers.google.com/maps/documentation/javascript/get-api-key

Info

This is considered as Backend Key and as such, should have no restrictions. It cannot be rendered on frontend.

Frontend API Key

This key will be exposed on frontend, please make sure it is restricted to known domains in Google API Console settings.

...