Google Maps | Where to place API KEY, safely?

Hi there,

I was wondering, where to place the Google Maps API KEY safely when embeding some google maps code in the Webflow custom code embed module ? I’ve heard it’s not safe to just copy the KEY in the code. Do you guys know how this should be done ? Is there any best practice you’d like to share ?

Thank you so much ! :slight_smile:
Anthony

Restricting Google Maps js API keys to just my domain

1 Like

Also I had issues when I didn’t have a “www.” in the domain - make sure to also add YOURDOMAIN.COM/* as one of the restrictions

1 Like