Title: Google Maps JavaScript Error
Last modified: February 16, 2021

---

# Google Maps JavaScript Error

 *  Resolved [heatherjdesigns](https://wordpress.org/support/users/heatherjdesigns/)
 * (@heatherjdesigns)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/google-maps-javascript-error-2/)
 * Hello,
 * I’m trying to get the WP Store Locator Plugin to work correctly. I have created
   the Browser Key and Server Key. Along with a Main Google API Key. On the backend
   of the website the plugin says that the Browser Key and Server Key are correct(
   no red errors). I can’t figure out why I am still getting the following error.
 * “This page didn’t load Google Maps correctly. See the JavaScript console for 
   technical details.”
 * I have followed the setup documentation here:
    [https://wpstorelocator.co/document/create-google-api-keys/#server-key](https://wpstorelocator.co/document/create-google-api-keys/#server-key)
   [https://wpstorelocator.co/document/create-google-api-keys/#browser-key](https://wpstorelocator.co/document/create-google-api-keys/#browser-key)
 * I tried editing the Browser Key and “Restricting” it and selecting API keys. 
   That didn’t change anything.
 * Does anyone have any suggestions? Or am I missing something?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-maps-javascript-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/google-maps-javascript-error-2/#post-14062003)
 * Can you check what’s current set as the referrer [restriction](https://wpstorelocator.co/wp-content/uploads/2020/07/google-browser-key-2020.gif)
   for the browser key? It should be set to your domain in the [https://brewscuits.com/*](https://brewscuits.com/*)
   format.
 *  Thread Starter [heatherjdesigns](https://wordpress.org/support/users/heatherjdesigns/)
 * (@heatherjdesigns)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/google-maps-javascript-error-2/#post-14062985)
 * Hi,
 * I had the following domain added to the Browser Key.
    http(s)://brewscuits.com/
   [http://www.brewscuits.com/store-locator](http://www.brewscuits.com/store-locator)
 * I just added [https://brewscuits.com/*](https://brewscuits.com/*) like you suggested.
 * Is it ok to have multiple domains or should it just be [https://brewscuits.com/*](https://brewscuits.com/*)?
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/google-maps-javascript-error-2/#post-14063008)
 * domain.com/* covers all pages on your domain, so it’s easier in the end.
 * If it still doesn’t work, then try to create a [new set](https://wpstorelocator.co/document/create-google-api-keys/#browser-key)
   of API keys. Google sometimes doesn’t process the changes correctly, and a new
   set of keys might fix this.
 *  Thread Starter [heatherjdesigns](https://wordpress.org/support/users/heatherjdesigns/)
 * (@heatherjdesigns)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/google-maps-javascript-error-2/#post-14063119)
 * Thank You SO MUCH!
    I knew it had to be something that I was missing. It looks
   like it’s working now. THANK YOU!
 *  [kgndev](https://wordpress.org/support/users/kgndev/)
 * (@kgndev)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/google-maps-javascript-error-2/#post-14105746)
 * Hi,
 * Please check this link
 * [https://prnt.sc/107jllg](https://prnt.sc/107jllg)
    [https://prnt.sc/107jppz](https://prnt.sc/107jppz)
 * Pin not loading my site and ajax response null
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/google-maps-javascript-error-2/#post-14106625)
 * [@kgndev](https://wordpress.org/support/users/kgndev/) please start a new thread
   next time, what’s the URL? If you disable all other plugins, switch back to a
   default theme, does this fixes it?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Google Maps JavaScript Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [Api-keys](https://wordpress.org/support/topic-tag/api-keys/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)
 * [Server key](https://wordpress.org/support/topic-tag/server-key/)

 * 6 replies
 * 3 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/google-maps-javascript-error-2/#post-14106625)
 * Status: resolved