What breaks
Google Maps not showing on website: fixes
The map box is blank, shows an error panel, or sits empty under the cookie banner. Simulated visitors open the page the way a stranger does and show which of these they hit.
Why is Google Maps not showing on my website?
The likeliest cause is a Google Maps key that the browser refuses, because its website restriction does not list the address the visitor opened, or the map service is not switched on for that key. The next causes are a consent banner that keeps the map frame empty until a visitor accepts it, and an embed code that runs before the container it fills exists. You see the map anyway, because your own browser already accepted the banner and opened the exact address the key allows. A simulated visit opens the location page as a stranger would and reports what the map box showed and which request failed on that step.
What this looks like in a report
“The address is printed here, but a map would show me the entrance and the car park. There is only a grey box. I will call them instead of driving to the wrong unit.”
The fix. Add each address a visitor can open, including the www form and any preview domain, to the key's website restriction in the Google Cloud console. Then make the map frame load only after the visitor accepts the consent banner.
An illustration. Run a test to see your own.See a real sample report
You accepted the cookie banner, so the blank map never shows for you
The location page loads and the map box is grey, with nothing where the pin should be. You open the same page in your own browser and the map appears, so you assume it works. A consent banner sits over the box and the frame does not start until they accept it. Another stranger gets a box that says the map cannot load, because the key allows only your live domain and they landed on the www address or a preview link. Your browser hides both. Each cause leaves the same empty box, so a screenshot alone will not tell you which one you have.
- Does the box show a message from the map provider, or is it empty with nothing written in it?
- Is a consent banner or cookie panel covering the box in the screenshot?
- Does the key's website restriction list the exact address the visitor opened, including the www form?
- Is the map an embed iframe, or a script that needs its container element to exist first?
Three causes leave the same empty box
The first cause is the key. A Maps key used in a page's source can be limited to certain websites, and if the address on screen is not on that list, the map service refuses to draw. Many sites forget the www address, a staging domain or a preview link. The second cause is consent. Tools that block third-party frames often hold the map back until a visitor accepts, and a visitor who ignores the banner sees a blank rectangle. The third cause is the embed itself. A map added by script needs its container element to exist before the script runs, and a late-rendered page can run it too early.
Tell the causes apart from what the box says
Read the box before you touch the code. A message from the map provider sits inside the box and names a key or billing problem, so the map service did answer. A panel covering the box is a consent tool, and the screenshot of that step shows it. An empty box with no message usually means the frame never started, so the browser console is the next place to look. Open developer tools on your own laptop and reload, and a blocked frame or a security policy error is listed there. The visit report gives the same evidence from a visitor who is not you: the screenshot of the step and any failed request it recorded, with its address.
Why the key is public and the restriction is the protection
A key in a page's source is visible to anyone who views the page, so it cannot be kept secret. The website restriction is what stops someone else from using it on their site, and it is also what stops your own map from loading on an address you did not list. When you change domains, move hosts or add a preview, add the new address to the restriction first. An embed code avoids the key altogether for a single map, which is why a simple location page often works with it, while a page that builds the map with a script breaks more easily when the key or the container is wrong.
What you get with Mimiq
- 01
Run it by hand, or on every pull request
Paste a link and a task in the app and watch the visitors work. Or run them on every preview deploy: the GitHub Action comments on the pull request, any other CI can call the MCP endpoint, and your coding agent can run it too.
- 02
Bugs and usability problems in one report
The browser records errors and failed or slow requests on the step they happened. The visitors say where the wording or the steps confused them, and where they left.
- 03
Visitors that behave like your audience
Each visitor is a different profile with a reason to be there, matched to who the page is for, described by you, or built from your own customers.
- 04
A prompt to fix each problem
Every problem comes with a fix to paste into Cursor, Claude Code, Lovable or any coding agent, and one prompt hands over the top problems at once. Then send the same visitors through again.
- 05
Follow every visitor
See each visitor's whole path, step by step with screenshots, and what it was thinking at every step. Ask any visitor a question.
The browser records relevant JavaScript errors and failed or slow app requests encountered during the run, attached to the step where they occurred. The visitors are simulated: they find problems, they do not predict how many real people will convert.
A new domain or banner brings the blank map back
Moving the site to a new domain, adding a preview address or changing the consent tool can empty the map again, with no code change anyone would notice. Run the same location visit after each of those changes, on the live address and on a preview, from a phone and a laptop. The report keeps the screenshot and the failed request for each run, so the fix and the retest stay tied to one step.
Starter
Try it on one launch
24 visitors, about 4 tests of 5
- Visitors on your landing page, signup and checkout
- Where they left and why, with a fix to copy for each problem
- Run it in the app or on every pull request
- Ask any visitor a question, included
- Test accounts and protected previews
Builder
Test every build
100 visitors, about 20 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Cancel anytime
Pro
Test every release, as a team
300 visitors, about 60 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Cancel anytime
Scale
Test at scale, every day
1,200 visitors, about 240 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Priority support
- Cancel anytime
Questions
Why does the map show for me but not for my customers?
Your browser may have accepted a consent banner earlier, and you may be typing the one address the key allows. A customer often arrives at the www version, a preview link or a page reached from search. Check the address they used before you assume the map is broken for everyone.
Does a simulated test show whether my Maps key is billed?
No. A visitor sees the page and what the browser recorded: a message in the map box, a failed request or an empty frame. A visitor cannot tell you whether billing is on or whether the key has the right services. Check those in the Google Cloud console, then run the visit again to confirm the map appears.
Will a working map bring in more calls or visits?
Not by itself. A visit shows whether a stranger can see the map and the directions on that step. It does not predict how many people will call, visit or buy. Those numbers come from your own calls, bookings and analytics.
Should I use an embed code or the JavaScript map?
An embed code from the map provider is a plain frame with its own address, so it needs no key in your page and is usually the simpler choice for one location. The JavaScript version needs a key and a container that exists before the script runs, and it is what breaks when a framework renders the page late. Choose one per page and test that page after each publish.
Why does the map work on my laptop but a phone shows a grey box?
The phone may reach a different address, hit a banner state you have not seen, or lay out the page so the map container has no height. A phone visitor runs a phone-sized touch browser, not a real iPhone or Android phone, so make the final check on a real phone.
Keep reading
Send visitors and see what breaks first.
Your first test is free: sign in with Google or email and it starts right away. Last checked 2026-12-03.