> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 【Google 相關】如何串接 Google Tag Manager （GTM）

有關的文章： [Google 相關](/zh-tw/category/google-55mdrc/)

Google Tag Manager （GTM）是 Google 的代碼管理工具，集中管理不同平台的追蹤代碼。你可以把 GTM 代碼串接到 EasyStore，你可以運用 Google 代碼管理工具，設定及部署 Google 產品和第三方的代碼。  
  

### 步驟一：建立 GTM 代碼

  
  
*   你需要先在 GTM 平台裡設定好你要集中追蹤的代碼
  
  
*   你可參考 Google 官網教學 進行設置
  
  

### 步驟二：在 EasyStore 安裝 Google Tag Manager 擴充

  
  
*   EasyStore 後台 → 安裝擴充 → 更多擴充 → 搜尋 Google Tag Manage → 安裝
  
  
![](https://storage.crisp.chat/users/helpdesk/website/71371d4a85dea000/1f6b881e-59b6-4857-8429-90d6a2_5rf0i6.png)  
  
*   回到 GTM 平台 → 即可找到 GTM 代碼（GTM-xxxxxxx）→ 複製 GTM 代碼
  
  
![](https://storage.crisp.chat/users/helpdesk/website/99818f55f3c6e800/26e641d3-eda9-4398-9e78-754e6e_11ro6ym.png)  
  
*   貼回 EasyStore Google Tag Manager 擴充裡 → 點擊儲存
  
  
![](https://storage.crisp.chat/users/helpdesk/website/2ae5e302012d2800/6f1bf843-d7e1-46d7-8733-c95465_9takob.png)  
  
💡 小提醒：  
  
*   你可在 Google Chrome 裡安裝 Tag Assistant 外掛，查看 GTM 是否有正在運行
  
  
![](https://storage.crisp.chat/users/helpdesk/website/a01ac44025747800/066ce03e-5283-4347-8f27-d2e0c5_1ogxw0m.png)  
  
![](https://storage.crisp.chat/users/helpdesk/website/37329d87007a4000/b6c465ba-01ad-4eb5-aa35-813114_121d9ip.png)

更新時間： 02/10/2023