Country and Location Detection
The Country and Location Detection feature allows you to identify a customer's geographical location in order to deliver a more personalized and relevant experience. It includes the following methods:
1. Location Detection
- Browser-Based Detection: Uses browser permissions to accurately determine the customer's current location. When the customer grants access, their precise coordinates are obtained for more localized content and store visibility.
- IP-Based Detection (IPInfo): Utilizes the IPInfo service with a token to detect the customer’s approximate location based on their IP address. This method is useful when browser permissions are denied or unavailable.
2. Country Detection
- Automatically identifies the visitor’s country using either browser-based geolocation or IP-based services.
- Enables location filtering and content customization based on the user’s country, ensuring they only see stores or features relevant to their region.

Select way of how country is detected.
Country Detection:
- Detect Country by IP: Uses a public API for accurate country-level estimation.
- Detect Country by MaxMind API (Coming Soon): Enhanced IP-based detection for precise accuracy.
- Detect Country by Shopify Market: Allows customers to manually select their country through the Shopify Market feature.
- Detect Country by Browser (Google Maps API): Requires user permission for browser location, providing city-level accuracy. To the right of each method is a pair of arrow buttons (up/down), indicating you can reorder the priority of these methods. If one method fails to detect the user’s country, the system moves on to the next method in the active (enabled) list.
| For inquiries, support, or assistance, feel free to reach out to us at: 📧 Email: support@techspawn.com