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

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

1. 你需要先在 [GTM 平台](https://tagmanager.google.com/)裡設定好你要集中追蹤的代碼

2. 你可參考 [Google 官網教學](https://support.google.com/tagmanager/answer/6103696?hl=zh-Hant&sjid=11141495229454703918-AP#zippy=%2C%E4%BB%80%E9%BA%BC%E6%98%AF%E4%BB%A3%E7%A2%BC%2C%E4%BB%80%E9%BA%BC%E6%98%AF%E5%B8%B3%E6%88%B6%2C%E4%BB%80%E9%BA%BC%E6%98%AF%E5%AE%B9%E5%99%A8) 進行設置

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

1.  EasyStore 後台 → 安裝擴充 → 更多擴充 → 搜尋 Google Tag Manage → 安裝

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_rxlki1.png)

2. 回到 GTM 平台 → 即可找到 GTM 代碼（GTM-xxxxxxx）→ 複製 GTM 代碼

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_7djkyh.png)

3. 貼回 EasyStore Google Tag Manager 擴充裡 → 點擊儲存

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1oru1p6.png)


---
💡 小提醒：

1. 你可在 Google Chrome 裡安裝 Tag Assistant 外掛，查看 GTM 是否有正在運行

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_15o6a88.png)

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1f58qtq.png)

