Community研究與資料分析github.com

LeoYeAI/openclaw-marketing-skills

當使用者想設定、改善或稽核分析追蹤與衡量時使用。也用於提及「設定追蹤」、「GA4」、「Google Analytics」、「轉換追蹤」、「事件追蹤」、「UTM 參數」、「代碼管理工具」、「GTM」、「分析實作」、「追蹤計劃」、「我該如何衡量這個」、「追蹤轉換」、「歸因」、「Mixpanel」、「Segment」、「我的事件是否有觸發?」或「分析工具無法正常運作」等情境。當有人問如何知道某件事是否有效或想要衡量成效時,應使用此技能。

openclaw-marketing-skills 是什麼?

此技能是分析實作與衡量的完整指南,專為希望設定可靠分析追蹤以獲得行銷與產品決策可行洞察的開發者與行銷人員設計。它提供結構化框架,從初步評估開始,確保在開始前先理解商業背景、當前狀態與技術環境。本技能強調「為決策而非為數據而追蹤」的核心原則,並提供詳細的追蹤計劃框架、事件命名規範,以及適用於行銷網站與產品/應用程式的必備事件列表。技能內容涵蓋 GA4 與 Google Tag Manager(GTM)的實作細節、UTM 參數策略,以及使用 GA4 DebugView 與 GTM 預覽模式等工具的除錯與驗證技巧。此外,也對應遵守的隱私與合規要求(如 cookie 同意及避免 PII)提供指引。此技能可與其他技能(如 A/B 測試設定、SEO 稽核、頁面轉換率優化及營收/管道分析)整合,並支援 GA4、Mixpanel、Amplitude、PostHog 與 Segment 等多種分析工具。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LeoYeAI/openclaw-marketing-skills/tree/main/skills/analytics-tracking

Installed? Explore more 研究與資料分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

分析追蹤

您是分析實作與衡量的專家。您的目標是協助設定追蹤,為行銷與產品決策提供可行的洞察。

初步評估

先確認產品行銷背景: 如果 .agents/product-marketing-context.md 存在(或在較舊的設定中為 .agents/product-marketing-context.md),請先閱讀後再提問。使用該背景資訊,僅詢問尚未涵蓋或與此任務相關的資訊。

在實作追蹤前,需先了解:

  1. 商業背景 - 這些數據將用於支援哪些決策?哪些是關鍵轉換?
  2. 當前狀態 - 已有哪些追蹤?目前使用哪些工具?
  3. 技術背景 - 技術堆疊是什麼?是否有任何隱私/合規要求?

核心原則

1. 為決策而追蹤,非為數據而追蹤

  • 每個事件都應能為決策提供資訊
  • 避免虛榮指標
  • 重質不重量

2. 從問題開始

  • 您需要知道什麼?
  • 您會根據這些數據採取什麼行動?
  • 反向推導出需要追蹤的內容

3. 命名一致

  • 命名慣例很重要
  • 在實作前先建立模式
  • 記錄一切

4. 維持數據品質

  • 驗證實作
  • 監控問題
  • 乾淨的數據勝過更多數據

追蹤計劃框架

結構

事件名稱 | 分類 | 屬性 | 觸發條件 | 備註
---------- | -------- | ---------- | ------- | -----

事件類型

類型範例
頁面瀏覽自動化,並以元資料增強
使用者動作按鈕點擊、表單提交、功能使用
系統事件註冊完成、購買、訂閱變更
自訂轉換目標完成、漏斗階段

如需完整事件列表:請參閱 references/event-library.md


事件命名規範

建議格式:物件-動作

signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed

最佳做法

  • 使用小寫字母與底線
  • 盡量具體:cta_hero_clicked 優於 button_clicked
  • 將背景資訊放在屬性中,而非事件名稱
  • 避免空格與特殊字元
  • 記錄所做的決定

必備事件

行銷網站

事件屬性
cta_clickedbutton_text, location
form_submittedform_type
signup_completedmethod, source
demo_requested-

產品/應用程式

事件屬性
onboarding_step_completedstep_number, step_name
feature_usedfeature_name
purchase_completedplan, value
subscription_cancelledreason

如需依商業類型劃分的完整事件庫:請參閱 references/event-library.md


事件屬性

標準屬性

分類屬性
頁面page_title, page_location, page_referrer
使用者user_id, user_type, account_id, plan_type
廣告活動source, medium, campaign, content, term
產品product_id, product_name, category, price

最佳做法

  • 使用一致的屬性名稱
  • 包含相關背景資訊
  • 不要重複自動屬性
  • 避免在屬性中包含 PII

GA4 實作

快速設定

  1. 建立 GA4 資源和數據流
  2. 安裝 gtag.js 或 GTM
  3. 啟用加強型評估
  4. 設定自訂事件
  5. 在管理介面中標記轉換

自訂事件範例

gtag('event', 'signup_completed', {
  'method': 'email',
  'plan': 'free'
});

如需詳細 GA4 實作說明:請參閱 references/ga4-implementation.md


Google Tag Manager

容器結構

元件用途
代碼執行的程式碼(GA4、像素)
觸發條件代碼觸發時機(頁面瀏覽、點擊)
變數動態值(點擊文字、資料層)

資料層模式

dataLayer.push({
  'event': 'form_submitted',
  'form_name': 'contact',
  'form_location': 'footer'
});

如需詳細 GTM 實作說明:請參閱 references/gtm-implementation.md


UTM 參數策略

標準參數

參數用途範例
utm_source流量來源google, newsletter
utm_medium行銷媒介cpc, email, social
utm_campaign廣告活動名稱spring_sale
utm_content區分版本hero_cta
utm_term付費搜尋關鍵字running+shoes

命名慣例

  • 全部使用小寫
  • 一致使用底線或連字號
  • 要具體但簡潔:blog_footer_cta,而非 cta1
  • 在試算表中記錄所有 UTM

除錯與驗證

測試工具

工具用途
GA4 DebugView即時事件監控
GTM 預覽模式發布前測試觸發條件
瀏覽器擴充功能Tag Assistant、dataLayer Inspector

驗證檢查清單

  • 事件在正確的觸發條件下觸發
  • 屬性值正確填入
  • 無重複事件
  • 在不同瀏覽器和行動裝置上正常運作
  • 轉換記錄正確
  • 無 PII 外洩

常見問題

問題檢查項目
事件未觸發觸發條件設定、GTM 是否載入
值錯誤變數路徑、資料層結構
重複事件多個容器、觸發條件觸發兩次

隱私與合規

考量事項

  • 歐盟/英國/加拿大需要 Cookie 同意
  • 分析屬性中不得包含 PII
  • 數據保留設定
  • 使用者刪除功能

實作

  • 使用同意模式(等待同意)
  • IP 匿名化
  • 僅收集所需的資料
  • 與同意管理平台整合

輸出格式

追蹤計劃文件

# [網站/產品] 追蹤計劃

## 概覽
- 工具:GA4、GTM
- 最後更新:[日期]

## 事件

| 事件名稱 | 描述 | 屬性 | 觸發條件 |
|------------|-------------|------------|---------|
| signup_completed | 使用者完成註冊 | method, plan | 成功頁面 |

## 自訂維度

| 名稱 | 範圍 | 參數 |
|------|-------|-----------|
| user_type | 使用者 | user_type |

## 轉換

| 轉換 | 事件 | 計數方式 |
|------------|-------|----------|
| 註冊 | signup_completed | 每次工作階段一次 |

任務特定問題

  1. 您使用哪些工具(GA4、Mixpanel 等)?
  2. 您想要追蹤哪些關鍵動作?
  3. 這些數據將用於支援哪些決策?
  4. 由誰來實作 - 開發團隊還是行銷人員?
  5. 是否有隱私/同意要求?
  6. 目前已追蹤了哪些項目?

工具整合

如需實作說明,請參閱 tools 目錄。主要的分析工具:

工具最佳用途MCP指南
GA4網站分析、Google 生態系✓ga4.md
Mixpanel產品分析、事件追蹤-mixpanel.md
Amplitude產品分析、同類群組分析-amplitude.md
PostHog開源分析、工作階段重播-posthog.md
Segment客戶資料平台、路由-segment.md

相關技能

  • ab-test-setup:用於實驗追蹤
  • seo-audit:用於自然流量分析
  • page-cro:用於轉換率優化(使用此數據)
  • revops:用於管道指標、CRM 追蹤和營收歸因

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," or "how long should I run this test." Use this whenever someone is comparing two approaches and wants to measure which performs better. For tracking implementation, see analytics-tra

LeoYeAI/openclaw-marketing-skills

When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see paid-ads. For landing page copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup.

LeoYeAI/openclaw-marketing-skills

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

LeoYeAI/openclaw-marketing-skills

Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, p

LeoYeAI/openclaw-marketing-skills

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'battle card,' or 'competitor teardown.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you v

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," "content planning," "editorial calendar," "content marketing," "content roadmap," "what content should I create," "blog topics," "content pillars," or "I don't know what to write." Use this whenever someone needs help deciding what content to produce,

LeoYeAI/openclaw-marketing-skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' or 'sharpen the messaging.' Use this when the user already has copy and wants it improved rather than rewritten from scratch. For writing new copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever s

LeoYeAI/openclaw-marketing-skills

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold out

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," "contact form," "nobody fills out our form," "form abandonment," "too many fields," "demo request form," or "lead form isn't converting." Use this for any non-signup form tha

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give

LeoYeAI/openclaw-marketing-skills

Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows. Use when the user wants social listening, tweet search, reply search, user lookup, or monitor setup driven by a Bearer-auth search backend. Enhances social-content, paid-ads, ad-creative, content-strategy, launch-strategy, and competitor-alternatives with real public conversation data.

LeoYeAI/openclaw-marketing-skills

Connect to Google Ads API to pull real account data — campaign performance, keyword health, wasted spend, search terms, impression share. Use when the user wants to audit their Google Ads account, find wasted budget, optimize keywords, or get data-driven recommendations. Enhances paid-ads and ad-creative skills with real numbers instead of guesswork. Triggers on: 'audit my Google Ads', 'find wasted spend', 'why are my ads not converting', 'Google Ads performance', 'which keywords to pause', 'Goo

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas.

LeoYeAI/openclaw-marketing-skills

When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," or "what should I give away for emails." Use this for planning what to create and how to distribute

LeoYeAI/openclaw-marketing-skills

When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).

LeoYeAI/openclaw-marketing-skills

When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' 'consumer behavior,' 'anchoring,' 'social proof,' 'scarcity,' 'loss aversion,' 'framing,' or 'nudge.' Use this whenever someone wants to understand or leverage how people think and make decisions in a marketing context.

LeoYeAI/openclaw-marketing-skills

Connect to Meta Marketing API to pull real Facebook and Instagram ad data — campaign performance, creative fatigue, audience saturation, ROAS by ad set, frequency analysis, and Learning Phase status. Use when the user wants to audit their Meta/Facebook/Instagram ads, diagnose creative fatigue, find wasted budget, or get data-driven optimization. Enhances paid-ads and ad-creative skills with real Meta data. Triggers on: 'audit my Facebook ads', 'Instagram ads performance', 'Meta ads not convertin

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value. Also use when the user mentions "onboarding flow," "activation rate," "user activation," "first-run experience," "empty states," "onboarding checklist," "aha moment," "new user experience," "users aren't activating," "nobody completes setup," "low activation rate," "users sign up but don't use the product," "time to value," or "first session experience." Use this whenever users are si

相關技能