使用 Geolocation 应用

Geolocation 应用可根据客户的地理位置和浏览器或设备语言为其提供语言和国家/地区建议。它还提供在您的在线商店页脚中显示国家/地区和语言选择器的选项,以供客户选择其语言以及国家/地区。客户可以接受建议,也可以使用国家/地区选择器以其首选语言浏览您的商店,并基于所选国家/地区以其首选货币进行结账。

当客户接受或忽略针对其他国家/地区的建议后,您的商店在 14 天内将不会再向这些客户显示相关建议。如果客户清除了他们的 cookie,此等待时间将会重置。每次新访问都会显示语言建议。

当您添加第一个国家/地区时,系统会启用多种货币,并自动将 Geolocation 应用添加到您的 Shopify 商店。如有必要,您可以手动安装 Geolocation 应用。自动安装 Geolocation 应用后,系统将默认启用国家/地区和语言建议。但是,您需要启用国家/地区选择器,以便客户可在访问您的在线商店时选择他们的国家/地区和语言。

本页相关主题

  • 使用 Geolocation 应用的要求

  • 手动安装 Geolocation 应用

  • 向客户显示地点和语言建议

  • 显示国家/地区和语言选择器

  • 卸载 Geolocation 应用

使用 Geolocation 应用的要求

若要使用 Geolocation 应用,您需要使用Shopify Payments并向多个国家/地区销售产品。Geolocation 应用仅针对在市场范围内启用的语言和国家/地区提供建议。 详细了解跨境销售。

手动安装 Geolocation 应用

如果 Geolocation 应用未自动安装,您可以手动安装。

步骤

  1. 转到 Shopify 应用商店中的 Geolocation 应用页面。

  2. 点击添加应用。如果您未登录 Shopify 账户,则系统会提示您登录。

  3. 点击安装应用

向客户显示地点和语言建议

安装 Geolocation 应用后,系统会自动启用国家/地区和语言建议。例如,如果您的商店位于美国,则默认国家/地区为美国,价格以美元显示并且默认语言为英语。如果您针对法国创建了市场(采用欧元和法语进行销售),Geolocation 应用将建议法国的访客选择法国和法语,以便您商店的相关信息以欧元和法语显示。如果您没有启用这些国家/地区和语言选项,您的商店将一直采用默认的国家/地区货币和语言设置。

步骤:

  1. 在 Shopify 后台中,转到应用

  2. 点击 Geolocation

  3. 建议部分中,选中显示建议

  4. 点击保存,然后再次点击保存

启用建议时,默认情况下客户会看到所有已发布的语言和货币。如果您取消选中显示建议,所有建议都将被删除。

自定义建议设置

默认情况下,Geolocation 应用会自动检测并匹配在线商店使用的模板颜色。如果您想更改向客户呈现建议的方式,您可以自定义建议的颜色设置。

步骤:

  1. 在 Shopify 后台中,转到应用

  2. 点击 Geolocation

  3. 建议部分中,点击自定义

  4. 点击要更改的颜色样本。

  5. 使用颜色选择器来选择颜色,或输入十六进制代码。

  6. 点击保存

预览国家/地区和语言建议

在您的商店中发布国家/地区和语言之前,您可以在 Geolocation 应用中预览相关建议。

如果您位于商店的默认国家/地区,则需要使用 VPN 服务来模拟从其他国家或地区进行浏览,然后才能预览建议。例如,如果您想预览针对美国客户的建议,并且您的商店默认使用美国和英语,则需要使用 VPN 服务来模拟从其他地点进行浏览。否则,商店中不会显示任何建议,因为商店已符合您的偏好设置。

显示国家/地区和语言选择器

通过国家/地区和语言选择器,访客可随时选择其语言以及国家或地区。

如果您的在线商店使用具有内置国家/地区和语言选择器的模板(例如 Dawn 或 Brooklyn),您便无需在 Geolocation 应用中启用国家/地区和语言选择器。

如果您的模板没有内置的国家/地区和语言选择器,您可以使用 Geolocation 应用将它们添加到在线商店的页脚中。

步骤:

  1. 在 Shopify 后台中,转到应用

  2. 点击 Geolocation

  3. 选择器部分中,选中显示选择器

  4. 可选:点击自定义,然后选择显示国家/地区及语言选择器的页脚位置。

  5. 点击保存

如果您取消选中显示选择器,则选择器将被删除。

卸载 Geolocation 应用

  1. 在 Shopify 后台中,转到应用

  2. 点击删除

卸载 Geolocation 应用后,您无需从模板样式中删除任何未使用的代码段。

Shopify商户官网原文详情:

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.

When you add your first country or region, multiple currencies are enabled and the Geolocation app is automatically added to your Shopify store. If necessary, you can install the Geolocation app manually. When the Geolocation app is installed automatically, country and language recommendations are enabled by default. However, you need to enable country selectors so that your customers can choose their country and language when they visit your online store.

On this page

  • Requirements for using the Geolocation app

  • Install the Geolocation app manually

  • Show location and language recommendations to your customers

  • Show country and language selectors

  • Uninstall the Geolocation app

Requirements for using the Geolocation app

To use the Geolocation app, you need to use Shopify Payments and sell to multiple countries using Markets. The Geolocation app only offers recommendations for the languages and countries that you enable within Markets. Learn more about selling cross-border.

Install the Geolocation app manually

If the Geolocation app doesn't install automatically, then you can install it manually.

Steps

  1. Go to the Geolocation app page in the Shopify App Store.

  2. Click Add app. If you aren't logged in to your Shopify account, then you're prompted to log in.

  3. Click Install app.

Show location and language recommendations to your customers

Country and language recommendations are automatically 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:

  1. From your Shopify admin, go to Apps.

  2. Click Geolocation.

  3. In the Recommendations section, check Show recommendations.

  4. Click Save, and then click Save again.

When you enable recommendations, all published languages and currencies are displayed to your customers by default. If you uncheck Show recommendations, then all recommendations are removed.

Customize recommendation settings

By default, the Geolocation app automatically detects 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:

  1. From your Shopify admin, go to Apps.

  2. Click Geolocation.

  3. In the Recommendations section, click Customize.

  4. Click the color swatch that you want to change.

  5. Choose a color by using the color picker, or enter a hex code.

  6. Click Save.

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 as Dawn or Brooklyn, 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:

  1. From your Shopify admin, go to Apps.

  2. Click Geolocation.

  3. In the Selectors section, check Show selectors.

  4. Optional: Click Customize, and then select a footer position for the country and language selectors.

  5. Click Save.

If you uncheck Show selectors, then the selectors are removed.

Uninstall the Geolocation app

  1. From your Shopify admin, go to Apps.

  2. Click Delete.

After the Geolocation app is uninstalled, you don't need to remove any unused code snippets from your theme template.


文章内容来源:Shopify商户官方网站

(本文内容根据网络资料整理,出于传递更多信息之目的,不代表连连国际赞同其观点和立场)