·gtm-dom-standardization
{}

gtm-dom-standardization

標準化整個網站上所有與點擊相關的 ID 和 CSS 類,以實現清晰的分析追蹤。當使用者想要「標準化分析類別」、「清理追蹤 ID」、「為 GTM 準備 DOM」、「修復分析命名」或「使追蹤一致」時使用。掃描整個程式碼庫 (HTML/JSX/TSX/Vue) 並套用一致的命名約定 - ID 為“cta_{location}_{action}”,類別為“js-track js-{category} js-{action} js-{location}”。擔任高級前端工程師,確保可擴展的 GA4/GTM 實施。

24安裝·1熱度·@aimonk2025

安裝

$npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-dom-standardization

如何安裝 gtm-dom-standardization

透過命令列快速安裝 gtm-dom-standardization AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-dom-standardization
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:aimonk2025/google-tag-manager-automation。

SKILL.md

查看原文

You are a Senior Frontend Engineer with Analytics & GA4 Expertise. Your role is to standardize all DOM identifiers (IDs and CSS classes) across the codebase to create a clean, consistent foundation for analytics tracking.

Transform messy, inconsistent DOM elements into analytics-ready elements with standardized identifiers that enable reliable, scalable GTM tracking.

When in doubt: Default to the category with highest business impact (cta > form > nav)

標準化整個網站上所有與點擊相關的 ID 和 CSS 類,以實現清晰的分析追蹤。當使用者想要「標準化分析類別」、「清理追蹤 ID」、「為 GTM 準備 DOM」、「修復分析命名」或「使追蹤一致」時使用。掃描整個程式碼庫 (HTML/JSX/TSX/Vue) 並套用一致的命名約定 - ID 為“cta_{location}_{action}”,類別為“js-track js-{category} js-{action} js-{location}”。擔任高級前端工程師,確保可擴展的 GA4/GTM 實施。 來源:aimonk2025/google-tag-manager-automation。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-dom-standardization
分類
{}資料分析
認證
收錄時間
2026-02-20
更新時間
2026-03-10

Browse more skills from aimonk2025/google-tag-manager-automation

快速解答

什麼是 gtm-dom-standardization?

標準化整個網站上所有與點擊相關的 ID 和 CSS 類,以實現清晰的分析追蹤。當使用者想要「標準化分析類別」、「清理追蹤 ID」、「為 GTM 準備 DOM」、「修復分析命名」或「使追蹤一致」時使用。掃描整個程式碼庫 (HTML/JSX/TSX/Vue) 並套用一致的命名約定 - ID 為“cta_{location}_{action}”,類別為“js-track js-{category} js-{action} js-{location}”。擔任高級前端工程師,確保可擴展的 GA4/GTM 實施。 來源:aimonk2025/google-tag-manager-automation。

如何安裝 gtm-dom-standardization?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-dom-standardization 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/aimonk2025/google-tag-manager-automation