真实国产老熟女无套中出,亚洲精品一区二区成人,亚洲最新中文字幕成人,又污又爽又黄的网站,亚洲中文字幕无码爆乳app

Google 地圖 API 密鑰添加到shopify模板步驟以及Google 地圖替代方案-ESG跨境

Google 地圖 API 密鑰添加到shopify模板步驟以及Google 地圖替代方案

shopify新聞
shopify新聞
2022-03-28
點贊icon 0
查看icon 1130

您可以將 Google 地圖 API 密鑰添加到您的模板中。

將 Google 地圖 API 密鑰添加到您的模板中

您可以將 Google 地圖 API 密鑰添加到您的模板中。

步驟:

PC:

  1. 在 Shopify 中,轉(zhuǎn)到在線商店 > 模板。

  2. 找到您要編輯的模板,然后點擊自定義。

  1. 點擊添加分區(qū)

  2. 點擊地圖,然后點擊選擇

  3. 輸入地圖信息。在 Google Maps API key(Google 地圖 API 密鑰)字段中粘貼您的 Google 地圖 API 密鑰。

  4. 點擊保存。

如果與 Google 地圖平臺的 API 通信時出錯,地圖便會替換為您在模板編輯器中指定的背景圖片或顏色。

蘋果系統(tǒng):

  1. 在 Shopify 應(yīng)用中,輕觸商店。

  2. 銷售渠道部分,輕觸在線商店

  3. 輕觸管理模板。

  4. 找到您要編輯的模板,然后輕觸自定義

  5. 輕觸編輯。

  1. 點擊添加分區(qū)。

  2. 點擊地圖,然后點擊選擇。

  3. 輸入地圖信息。在 Google Maps API key(Google 地圖 API 密鑰)字段中粘貼您的 Google 地圖 API 密鑰。

  4. 點擊保存

如果與 Google 地圖平臺的 API 通信時出錯,地圖便會替換為您在模板編輯器中指定的背景圖片或顏色。

安卓系統(tǒng):

  1. 在 Shopify 應(yīng)用中,輕觸商店。

  2. 銷售渠道部分,輕觸。

  3. 輕觸管理模板

  4. 找到您要編輯的模板,然后輕觸自定義。

  5. 輕觸編輯

  1. 點擊添加分區(qū)。

  2. 點擊地圖,然后點擊選擇。

  3. 輸入地圖信息。在 Google Maps API key(Google 地圖 API 密鑰)字段中粘貼您的 Google 地圖 API 密鑰。

  4. 點擊保存

如果與 Google 地圖平臺的 API 通信時出錯,地圖便會替換為您在模板編輯器中指定的背景圖片或顏色。

限制為僅您的域名,以便阻止其他人使用您的 API 密鑰。

步驟:

  1. 轉(zhuǎn)到 Google API 憑據(jù)頁面。

  2. 從菜單中選擇您的項目。

  3. 選擇您生成的 API  密鑰以開始進行編輯。

  4. 在應(yīng)用程序限制下,點擊 HTTP referrers (web sites)(HTTP 推薦人 (網(wǎng)站)),并輸入與商店相關(guān)聯(lián)的任何域名,包括 .my.com 域名。例如,如果您具有自定義域名,則輸入 https://myCustomDomain.com/* 和 https://shop1.myshopify.com/*。

  5. 點擊保存。

使用 Google 地圖平臺的替代方案

如果您想要在自己的網(wǎng)站上顯示地圖,但不使用 Google 地圖平臺的服務(wù),則可以在頁面上放置嵌入式地圖。

嵌入式地圖使用 HTML <iframe>,這種可以放置在提供富文本輸入字段的任何頁面或主頁分區(qū)中。



Add your Google Maps API key to your theme

You can add your Google Maps API key to your theme.

Steps:

PC:

  1. From your Shopify admin, go to Online Store > Themes.

  2. Find the theme that you want to edit, and then click Customize.

  1. Click Add section.

  2. Click Map, and then click Select.

  3. Enter the information for your map. In the Google Maps API key field, paste your Google Maps API key.

  4. Click Save.

If there is ever an error in communicating with Google Maps Platform's APIS, the map is replaced by the background image or color that you have specified in the theme editor.

iPhone:

  1. From the Shopify app, tap Store.

  2. In the Sales channels section, tap Online Store.

  3. Tap Manage themes.

  4. Find the theme that you want to edit, and then tap Customize.

  5. Tap Edit.

  1. Click Add section.

  2. Click Map, and then click Select.

  3. Enter the information for your map. In the Google Maps API key field, paste your Google Maps API key.

  4. Click Save.

If there is ever an error in communicating with Google Maps Platform's APIS, the map is replaced by the background image or color that you have specified in the theme editor.

Android:

  1. From the Shopify app, tap Store.

  2. In the Sales channels section, tap Online Store.

  3. Tap Manage themes.

  4. Find the theme that you want to edit, and then tap Customize.

  5. Tap Edit.

  1. Click Add section.

  2. Click Map, and then click Select.

  3. Enter the information for your map. In the Google Maps API key field, paste your Google Maps API key.

  4. Click Save.

If there is ever an error in communicating with Google Maps Platform's APIS, the map is replaced by the background image or color that you have specified in the theme editor.

Restrict API access to only your store

Google Maps Platform prompts you to restrict access to your API. Your API key is a unique identifier for your map that prevents others from using your API key by restricting its access to only your domains.

Steps:

  1. Go to the Google API credentials page.

  2. Select your project from the menu.

  3. Choose the API key that you generated to begin editing.

  4. Under Application restrictions, click HTTP referrers (web sites) and enter any domain associated with your store, including your .myshopify.com domain. For example, if you have a custom domain, then enter both https://myCustomDomain.com/* and https://shop1.myshopify.com/*.

  5. Click Save.

Alternatives to using the Google Maps Platform

If you want to display a map on your website, but not use the Google Maps Platform's services, you can place an embedded map on your page.

Embedded maps use an HTML <iframe> which can be placed into any page or homepage section that provides a rich text input field.



特別聲明:以上文章內(nèi)容僅代表作者本人觀點,不代表ESG跨境電商觀點或立場。如有關(guān)于作品內(nèi)容、版權(quán)或其它問題請于作品發(fā)表后的30日內(nèi)與ESG跨境電商聯(lián)系。

搜索 放大鏡
韓國平臺交流群
加入
韓國平臺交流群
掃碼進群
歐洲多平臺交流群
加入
歐洲多平臺交流群
掃碼進群
美國賣家交流群
加入
美國賣家交流群
掃碼進群
ESG跨境專屬福利分享群
加入
ESG跨境專屬福利分享群
掃碼進群
拉美電商交流群
加入
拉美電商交流群
掃碼進群
亞馬遜跨境增長交流群
加入
亞馬遜跨境增長交流群
掃碼進群
亞馬遜跨境增長交流群
加入
亞馬遜跨境增長交流群
掃碼進群
拉美電商交流群
加入
拉美電商交流群
掃碼進群
ESG獨家招商-PHH GROUP賣家交流群
加入
ESG獨家招商-PHH GROUP賣家交流群
掃碼進群
《韓國平臺運營干貨包》
《波蘭allegro知識百科》
《Darty知識百科》
《法國Fnac知識百科》
《PEAKS 出海經(jīng)營方法論白皮書》
2025跨境電商營銷日歷
《2024年全球消費趨勢白皮書——美國篇》
《2024TikTok出海達人營銷白皮書》
《Coupang自注冊指南》
《eMAG知識百科》
通過ESG入駐平臺,您將解鎖
綠色通道,更高的入駐成功率
專業(yè)1v1客戶經(jīng)理服務(wù)
運營實操指導(dǎo)
運營提效資源福利
平臺官方專屬優(yōu)惠
聯(lián)系顧問

平臺顧問

平臺顧問 平臺顧問

微信掃一掃
馬上聯(lián)系在線顧問

icon icon

小程序

微信小程序

ESG跨境小程序
手機入駐更便捷

icon icon

返回頂部

【免費領(lǐng)取】全球跨境電商運營干貨 關(guān)閉
進行中
進行中
《韓國平臺運營干貨包》
包含四個韓國干貨報告:Coupang自注冊指南、GMK站內(nèi)推廣指南、韓國大促熱銷品詳細預(yù)測、韓國節(jié)日營銷全攻略
免費領(lǐng)取
進行中
進行中
TikTok運營必備干貨包
包含8個TikTok最新運營指南(市場趨勢、運營手冊、節(jié)日攻略等),官方出品,專業(yè)全面!
免費領(lǐng)取
進行中
進行中
韓國電商節(jié)日營銷指南
10+韓國電商重要營銷節(jié)點詳細解讀;全年度各節(jié)日熱度選品助力引爆訂單增長;8大節(jié)日營銷技巧輕松撬動大促流量密碼。
免費領(lǐng)取
進行中
進行中
【平臺干貨】eMAG知識百科
涵蓋從開店到大賣6個板塊:開店、運營、廣告、選品、上架、物流
免費領(lǐng)取
進行中
進行中
全球平臺詳解——全球合集
涵括全球100+個電商平臺的核心信息,包括平臺精煉簡介、競爭優(yōu)勢、熱銷品類、入駐要求以及入駐須知等關(guān)鍵內(nèi)容。
立即領(lǐng)取
進行中
進行中
韓國coupang平臺自注冊指南
韓國Coupang電商平臺從注冊準備、提交申請到完成注冊,開店全流程詳細指引。
免費領(lǐng)取
進行中
進行中
2025跨境電商營銷日歷
包括傳統(tǒng)中、外重要節(jié)日及重點電商營銷節(jié)點還對營銷關(guān)鍵市場、選品輔以說明,讓你的365天安排的明明白白!
免費領(lǐng)取
進行中
進行中
全球平臺詳解——歐洲篇
涵蓋20+歐洲電商平臺,詳細解讀優(yōu)勢、入駐條件、熱銷品等
立即領(lǐng)取