Table of Contents
Problem #
Google Maps is not working properly in the store locator due to a wrong referrer being added.
Explanation #
One possible reason why Google Maps does not work properly is due to a Google API error. Furthermore, the reason this happens is because the API key is not linked to the user’s domain.
![Referrer Error Message](https://cdn.statically.io/img/agilestorelocator.com/wp-content/plugins/wp-fastest-cache-premium/pro/images/blank.gif)
Solution 1 #
Firstly, you can create a new API for this domain, which will quickly solve the problem.
Solution 2 #
Secondly, you can change the website for an existing key to solve the problem.
Furthermore, your website lines will be:
mywebsite.com
mywebsite.com/*
*.mywebsite.com
*.mywebsite.com/*
Note: Please replace mywebsite.com with your site address
![Change Domain Referrer](https://cdn.statically.io/img/agilestorelocator.com/wp-content/plugins/wp-fastest-cache-premium/pro/images/blank.gif)
Lastly, for more information, please refer to the below video or post.