What breaks
Google Places autocomplete not working: fixes
The address box shows no suggestions, or it clears what the buyer typed after a pick. On localhost the same field works, so the code looks fine and the fault is hard to see.
Why is Google Places autocomplete not working on my site?
On a live site the cause is often the Maps API key, not the field code: the key can refuse requests from your domain, or the project it belongs to can lack the Places service or billing. Open the browser console on the live page and read the error the map script prints, because it names the cause. If the field also fails when the buyer types an address without picking a suggestion, check the handler that reads the chosen place. A simulated test types an address and reports whether suggestions appeared and where the visitor stopped.
What this looks like in a report
“I typed my street and no list came up. I kept typing the full address and pressed Continue, and it asked me to pick an address from the list. The list was never there, so I phoned the shop.”
The fix. Add the live domain to the key's allowed referrers, and check that the project has billing and the Places service turned on. Read the chosen place in the handler, and accept a typed address when no suggestion was picked.
An illustration. Run a test to see your own.See a real sample report
The suggestions never come, and the console says why
A buyer clicks the address box and types a street. Nothing drops down, so they type the whole address by hand and press Continue. Sometimes the page accepts the text. Sometimes it stops and asks them to pick a suggestion from a list that never opened. On your laptop the same field works, because localhost is allowed by the key and your own project has billing set up. The live domain is not on the key's list, so the map script refuses the places library and the field stays plain. The buyer cannot see any of this, and the console line is the only sign.
- Open the console on the live page. Does a Maps error name the key, the referrer or the API?
- Check the key's allowed domains. Does the list include the live address and its www version?
- Type an address and press Continue without picking one. Does the form accept it?
- Pick a suggestion. Does the typed street stay in the box, or does the box empty?
Read the map script's error on the live domain
A localhost test proves less than it seems. Local development usually runs on an address the key already allows, so the field works there and fails on the domain a buyer visits. The key itself sits in the page where anyone can read it. A referrer restriction is what stops other websites from using it, and the same restriction stops your own live domain when the domain is missing from the list.
Open the console on the live page and reload it. A line that names the referrer, the key or a service that is not enabled tells you which setting to change. Billing is a separate check. The project the key belongs to must have billing set up and the Places service enabled, and when either is missing the suggestions stay empty. Read the project's settings in the Google Cloud console, not a forum, because those settings change.
A field can show suggestions and still lose the address
The widget sets a place only when the buyer picks a suggestion. If the handler reads that place before the widget has set it, the handler gets nothing and the form clears the text. A framework that re-renders the input can also drop the listener the widget attached, so the box looks right and does nothing when typed into. Check that the widget is attached after the input is drawn, and that the input is not replaced on each render.
The typed path matters just as much. A buyer who types a full address and never picks a suggestion produces no place at all, only plain text. A form that needs the place object will refuse that buyer, even when the address is complete. Read the plain text when no place exists, and keep the picked place as a better answer when one does.
Test the typed path and the picked path
Run the address step twice on the live page: once with a suggestion picked, and once with the full address typed and no pick. The two runs show whether the field fails for every buyer or only for the ones who type. Put a real street in each run, and check the step after Continue, so you see the address as the next screen received it.
A test shows where the visitor stopped and what the box held at that step. It does not check whether an address exists, and it does not confirm that the place's coordinates are right for delivery. Those checks belong to your carrier and to the places data itself, so read them there after the field is fixed. Keep the test to the same address each time, so a change in the result can be traced to the field and not to the input.
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 rotated key or a new domain can switch the suggestions off
Rotating the key, adding a staging domain or changing the project's billing can stop the widget on the live site without any change to the field. Repeat the typed and picked address after each of those changes. A checkout behind a login can be tested with a test account from paid credits.
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
Do I need billing turned on for the address widget?
The project that serves the key needs billing set up, and the Places service must be enabled for it. Check both in the Google Cloud console for the project the key belongs to. Terms and prices change, so read them there rather than from an older article.
Why does it work on localhost but not on my domain?
Local development often runs on an address the key allows, and the live domain is not on the list. Add the live domain and its www version, then test the live page again. The restriction is what keeps other sites from using your key.
Can a simulated test check that the address is correct?
No. It types the address and reports whether suggestions appeared and where the step stopped. It cannot tell you whether the address is deliverable or whether a carrier serves it, so use your carrier's own address rules for that.
Should I let buyers type an address without picking a suggestion?
Yes. Some buyers never pick from a list, and a form that insists on a pick blocks them. Accept the typed address, use the picked place when there is one, and show the chosen result so a buyer can see what the form will use.
Why did the field work yesterday and fail today?
A key change, a new domain, a lapsed billing account or a site update can stop the widget without any change to the field's code. Read the console on the live page after each change, and rerun the address step on the live address.
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.