Using the Geolocation app
The Geolocation app makes language and country recommendations to your customers based on their geographic location and browser or device language. It also has an option to display a country selector in the footer of your online store that enables your customers to choose their language and country or region. Customers can accept a recommendation or use the country selector to browse your store in their preferred language and check out in their preferred currency based on the country or region selected.
After a customer accepts or dismisses a recommendation for a different country or region, they aren't presented with another recommendation on your store for 14 days. If the customer clears their cookies, then this wait time is reset. Language recommendations appear in every new session.
After youadd your first country or region, multiple currencies are enabled and the Geolocation app is automatically added to your Shopify store. If necessary, you caninstall the Geolocation appmanually. When the Geolocation app is installed automatically,country and language recommendationsare enabled by default. However, you need toenable country selectorsso that your customers can choose their country and language when they visit your online store.
On this page
Requirements for using the Geolocation app
To use the Geolocation app, your store must meet the following requirements:
- UseShopify Payments
- Sell to multiple countries usingMarkets
The Geolocation app offers recommendations for only the languages and countries that you enable within Markets.
Install the Geolocation app manually
If the Geolocation app doesn't install automatically, then you can install it manually.
Steps
- Go to theGeolocationapp page in the Shopify App Store.
- ClickAdd app. If you aren't logged in to your Shopify account, then you're prompted to log in.
- ClickInstall app.
Show location and language recommendations to your customers
国家和语言的建议是自动的ally enabled when the Geolocation app is installed. For example, if your store is based in the United States, then your default country is the United States, where prices are displayed in USD and your default language is English. If you create a market for France that sells in Euros and French, then the Geolocation app recommends that visitors from France select France and the French language to display your store in Euros and French. If you don't have these country and language options enabled, then your store remains in your default country currency and language settings.
Steps:
From your Shopify admin, clickSettings>Apps and sales channels.
From theApps and sales channelspage, clickGeolocation.
ClickOpen app.
In theRecommendationssection, checkShow recommendations.
ClickSave, and then clickSaveagain.
When you enable recommendations, all published languages and currencies are displayed to your customers by default. If you uncheckShow recommendations, then all recommendations are removed.
Customize recommendation settings
默认情况下,地理定位应用自动潜艇雷达cts and matches the theme colors used on your online store. If you want to change how the recommendations are displayed to your customers, then you can customize the color settings for your recommendations.
Steps:
From your Shopify admin, clickSettings>Apps and sales channels.
From theApps and sales channelspage, clickGeolocation.
ClickOpen app.
In theRecommendationssection, clickCustomize.
Click the color swatch that you want to change.
Choose a color by using the color picker, or enter a hex code.
ClickSave.
Previewing country and language recommendations
You can preview your country and language recommendations in the Geolocation app before you publish them on your store.
If you're located in your store's default country or region, then you need to use a VPN service to simulate browsing from other countries or regions before you can preview recommendations. For example, if you want to preview your recommendations from the United States, and your store uses the United States and English by default, then you need to use a VPN service to simulate browsing from another location. Otherwise, no recommendations are displayed because the store already matches your preferences.
Show country and language selectors
Country and language selectors enable your visitors to select their language and country or region at any time.
If your online store uses a theme that has country and language selectors built in, such asDawn, then you don't need to enable country and language selectors in the Geolocation app.
If your theme doesn't have built-in country and language selectors, then you can use the Geolocation app to add them to the footer of your online store.
Steps:
From your Shopify admin, clickSettings>Apps and sales channels.
From theApps and sales channelspage, clickGeolocation.
ClickOpen app.
In theSelectorssection, checkShow selectors.
Optional: ClickCustomize, and then select a footer position for the country and language selectors.
ClickSave.
If you uncheckShow selectors, then the selectors are removed.
Uninstall the Geolocation app
From your Shopify admin, clickSettings>Apps and sales channels.
ClickRemove.
After the Geolocation app is uninstalled, you don't need to remove any unused code snippets from your theme template.