What this section controls
This section controls map displays with the following capabilities:- Interactive Google Maps embed
- Custom address or default shop address display
- Configurable zoom level (0-21)
- Map height controls for desktop and mobile
- Google Maps API key integration
- Section title with customizable heading size
- Section button with link and style options
- Color scheme, width, and spacing controls
Prerequisites
Before using the Map section, you need to:- Create a Google Cloud Console account
- Enable the Google Maps Embed API
- Generate an API key
Section settings
API key
API key
API key — Paste your Google Maps API key in this field.This is required for the map to display. Without a valid API key, the map embed will not load.
Address
Address
Address query — Enter the address to display on the map.Format: street address, city state/countryExample: 123 Main Street, New York NY
If left empty, the map displays your shop’s default address from Settings > General in Shopify admin.
Zoom level
Zoom level
Zoom level — Control how close the map zooms into the location.Range: 0-21 (default: 16)
- 0 — Fully zoomed out (world view)
- 10-12 — City-level view
- 16 — Street-level view (default)
- 21 — Maximum zoom (building-level detail)
Section width
Section width
Choose the map container width:
- Page width — Standard container width
- Fluid — Wider, edge-to-edge within padding
- Full width (default) — Complete edge-to-edge layout
Color scheme
Color scheme
Select the background color scheme for the section container (default: scheme-1). This affects the area around the map if not using full width.
Spacing
Spacing
Control vertical spacing above and below the section with options from None to XL (0, S, M, L, XL).Default: M for top spacing, None for bottom spacing
Section border
Section border
Add decorative borders:
- None (default) — No borders
- Top — Border above the section
- Bottom — Border below the section
- Both — Borders above and below
Best practices
API key security
Set up API key restrictions in Google Cloud Console to limit usage to your domain and prevent unauthorized use.
Accurate address
Use the exact address format that Google Maps recognizes. Test your address in Google Maps search first to verify it’s correct.
Optimal zoom
Use zoom level 14-16 for most locations to show context (nearby streets and landmarks) while highlighting your specific location.
Full width display
Use full width section setting for maps to maximize usability and provide better navigation experience.
Mobile testing
Preview on mobile devices to ensure the map is easily navigable with touch gestures.
Strategic placement
Place the map section on your Contact page, About page, or dedicated Store Locations page for easy discovery.
Combine with text
Add a Rich Text section above the map with hours, parking information, or public transit instructions.
API usage monitoring
Monitor your Google Maps API usage in Google Cloud Console to avoid unexpected charges if you exceed free tier limits.
Common use cases
- Contact pages — Display store location so customers can find you
- About pages — Show company headquarters or primary location
- Store locator pages — Multiple map sections for different store locations
- Event pages — Highlight venue location for in-store events
- Shipping/Returns pages — Show return center or warehouse location
- Landing pages — Local business landing pages highlighting service areas
Google Maps API pricing
Google Maps Embed API offers generous free tier usage:- Free tier: 25,000 map loads per day
- Pricing: $7 per 1,000 additional loads (after free tier)
Troubleshooting
Map not displaying
Common causes:- Invalid or missing API key
- API key restrictions blocking your domain
- Maps Embed API not enabled in Google Cloud Console
- Incorrect address format
- Verify API key is correct and Maps Embed API is enabled
- Check API key restrictions allow your domain
- Test address in Google Maps to verify format
- Check browser console for specific error messages
Map shows wrong location
- Verify the address format matches what Google Maps expects
- Try entering additional detail (city, state, country)
- Test the exact address string in Google Maps search
- Use coordinates format:
latitude,longitudeif address lookup fails