On this page
What this issue is
Address autocomplete suggests full addresses as a customer types in a checkout or lead form. Many sites use the Google Places API (loaded through the Google Maps JavaScript library) for this. When it is broken, the dropdown never appears, or the field shows a greyed-out box with the message "This page can't load Google Maps correctly".
Why it costs you leads or sales
Typing a full address on a phone is slow and error-prone. Without suggestions, some people give up, and others enter incomplete or wrong addresses that cause failed deliveries, rejected postcodes and extra support work. The impact is medium: checkout still functions, but friction goes up at one of the last steps.
Example: illustrative numbers only. Real results depend on your audience and device mix.
- CartCustomer proceeds to checkout
- Address fieldGoogle script fails, no suggestions
- Shipping ratesTypos or partial address cause errors
- PaymentSome customers abandon first
The address step is where the failed script hurts. Later steps suffer from bad or missing data.
How to check if your site has it
Open checkout in a private window
Add a product to the cart and go to the address step. Use a private window so extensions and cached scripts do not hide the fault.
Type a real street address
Enter a few characters. A dropdown of suggestions should appear within a second.
Open the browser console
Press F12 and open the Console tab. Look for messages such as RefererNotAllowedMapError, ApiNotActivatedMapError, BillingNotEnabledMapError, InvalidKeyMapError or ExpiredKeyMapError.
Check the Network tab
Filter by maps.googleapis.com. A red or blocked request means the script did not load, often because of an ad blocker, a consent tool or a Content Security Policy.
| Error | Likely cause | Fix |
|---|---|---|
| RefererNotAllowedMapError | Key restricted to other domains | Add your domain to HTTP referrers |
| ApiNotActivatedMapError | Places API not enabled | Enable Places API in Google Cloud |
| BillingNotEnabledMapError | No active billing account | Link a billing account to the project |
| InvalidKeyMapError | Typo or wrong key | Paste the correct key |
| Blocked by CSP | Content Security Policy | Allow maps.googleapis.com |
How to fix it
Open Google Cloud Console
Select the project that owns your key. Go to APIs & Services and check the key is the same one used on your site.
Enable the right APIs
Under Library, enable Maps JavaScript API and Places API (or Places API (New) if your plugin uses it).
Check billing
Under Billing, confirm the project is linked to an active billing account. Google requires one for Maps Platform use.
Fix key restrictions
Under Credentials, open the key. For website keys, add every domain you use, including www and non-www, in the format https://example.com/*. Under API restrictions, make sure Places and Maps JavaScript are allowed.
Find the plugin setting
WooCommerce address autocomplete plugins have an API key field in their settings page. Paste the current key and save.
Look for double loading
If your theme or another plugin also loads Google Maps with a different key, the wrong one can win. Disable the duplicate.
Check the app
Shopify's checkout address suggestions come from Shopify itself on supported plans. If you use a third-party address app, open its settings and re-enter the Google API key.
Review theme code
In Online Store > Themes > Edit code, search for maps.googleapis.com and confirm the key in the script URL is current.
Check any Custom HTML tag
If the Maps script is loaded through a GTM tag, confirm the tag fires on the checkout page and uses the correct key.
Check custom code
Open Project Settings > Custom code and the checkout page settings. Confirm the script tag has the right key and that the field ID matches your input.
Check the script tag
Make sure the library is loaded with the places library and a valid key, and that the input ID matches your JavaScript.
Check your CSP
If you send a Content Security Policy header, allow Google's domains in script-src, connect-src and img-src.
<input id="address" type="text" autocomplete="street-address">
<script>
function initAutocomplete() {
new google.maps.places.Autocomplete(
document.getElementById('address'),
{ fields: ['address_components', 'formatted_address'] }
);
}
</script>
<script async
src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places&callback=initAutocomplete"></script>How to confirm it's fixed
- Suggestions appear in a private window on desktop
- Suggestions appear on a real phone
- The console shows no Google Maps errors
- Picking a suggestion fills street, city, postcode and country
- Shipping rates load after choosing a suggestion
- Test on both www and non-www versions of your domain
How to prevent it happening again
Most breakages come from changes outside your site: a billing card expiring, a key being rotated, or a restriction edited. Put a calendar reminder on the billing card expiry, document which project owns the key, and use a separate key for each site. Set a budget alert in Google Cloud so you hear about usage problems early. Re-test the address step after theme, plugin or domain changes.
Broken
- No dropdown appears
- Customers type full addresses by hand
- More typos and failed postcode checks
Fixed
- Suggestions appear after a few characters
- Fields fill in one tap
- Cleaner addresses reach shipping and your CRM
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your checkout or lead journey on a schedule and watches for third-party resource failures, such as the Google Maps script failing to load or returning an error. If that happens, it re-checks from a second region, then sends one alert (email, Slack, Teams, WhatsApp, webhook or PagerDuty) with a screenshot and a likely cause.
This is a check on whether the resource loads, not a judgement of how good the suggestions are. Test traffic is marked with utm_source=funnelguard and fg_test=1. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans include a 3-day free trial.
Questions people ask
Why is my Google Places address autocomplete not showing suggestions?
The most common reasons are an invalid or expired API key, the Places API not being enabled, billing not active on the Google Cloud project, or a referrer restriction that does not include your domain. Open the browser console on the page and read the Google Maps error. It usually names the exact cause.
What does RefererNotAllowedMapError mean?
It means your API key is restricted to specific websites and the site making the request is not on the list. In Google Cloud, open the key under Credentials and add your domain, such as https://example.com/*, including the www version if you use it.
Do I need billing enabled for Google Places autocomplete?
Yes. Google Maps Platform requires an active billing account linked to the project. Without it, the script returns BillingNotEnabledMapError and the autocomplete stops working, even if the key is otherwise correct.
Why does address autocomplete work for me but not for customers?
Your browser may have a cached script, or customers may use ad blockers, strict privacy settings or a consent tool that blocks the Google script. Test in a private window, on mobile, and from a different network to see what they see.
Can a Content Security Policy block Google Places?
Yes. If your site sends a CSP header, it must allow Google's domains, including maps.googleapis.com, in the script and connection rules. A blocked request shows as a CSP error in the console.
Will checkout still work if autocomplete fails?
Usually yes, because customers can type the address by hand. But the added friction and typos can lower completion and cause delivery problems, so it is still worth fixing quickly.
How do I know when address autocomplete breaks again?
You can test it manually after changes, or use synthetic monitoring. FunnelGuard runs your checkout journey on a schedule, detects third-party resource failures such as the Maps script not loading, and sends an alert with a screenshot.
Related issues
- CNV-182Address form rejects valid postcodeFix guide
- CNV-175No shipping options for a valid addressFix guide
- CNV-184Shipping rates API timeout blocks checkoutFix guide
- CNV-176Shipping cost wrong or zeroFix guide
- CNV-177Shipping to advertised countries blockedFix guide
- CNV-178Tax not calculated or doubledFix guide