Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I'm on the Shopify Grow Plan and want to auto-detect customer location using Google Maps, ideally on the checkout page.
Is this possible on Grow, or only with Shopify Plus? Are there any workarounds or apps to do this on the cart page or earlier?
Thanks in advance!
Hi @Fatina,
Solution Approach: Auto-Detect Customer Location on Shopify (Grow Plan)
1. Shopify Plan Limitations
Checkout customization is restricted to Shopify Plus. On the Grow Plan (or any non-Plus plan), merchants cannot customize the checkout page to include custom scripts like Google Maps APIs or geolocation features.
Therefore, direct location detection on the checkout page is NOT possible unless the store is on Shopify Plus.
2. Workaround on Cart Page or Earlier
Since the checkout page is off-limits, the workaround is to implement geolocation on:
Home page
Product page
Cart page
This can be achieved using JavaScript and Google Maps API or third-party apps.
3. Workaround Implementation Options
Option A: Use Google Maps API on Cart Page
You can embed a geolocation script using Google Maps Geolocation API or HTML5 Geolocation API:
Detect user location using navigator.geolocation.
Convert coordinates into address using Google Maps Geocoding API.
Autofill or suggest location on cart notes, or prefill shipping estimator if enabled.
Note: This requires theme file access (Liquid + JS) and minor dev work.
Option B: Use a Geolocation App
Several Shopify apps offer geolocation detection before checkout:
Geolocation Redirect (by Shopify) – shows location-based content but not ideal for cart integration.
GeoIP Country Redirect (by Mod Media)
Advanced Store Localization – better for multi-location routing.
Custom App Integration – for deeper control, a custom private app or script can be developed.
If you’d like to proceed with custom integration, we can guide you to implement the geolocation script and configure it to store the data effectively.
Regards,
Dotsquares Ltd
Problem Solved? ✔ Accept and Like solution to help future merchants.
Hello @Fatina
Unfortunately, Shopify does not allow any customizations on the checkout page unless you're on Shopify Plus — this includes adding Google Maps or auto-location detection at checkout.
However, there are workarounds you can use on the cart page or earlier:
Google Maps API on the cart page or custom address form
You can add a Google Maps-powered address autocomplete (Places API) to the cart page or a custom form on the product or shipping info page before checkout.
Apps to help with location detection:
GeoIP Redirect or Geo Country Blocker – Can auto-detect a user's location and redirect or show location-specific content.
Auto Currency Switcher by MLVeda – Uses location detection (primarily for currency, but can be adapted for experience personalization).
Custom-developed script – You can also have a developer implement a lightweight geolocation + autocomplete tool using Google Maps.
Let me know if you have any questions!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025