analytics
Skill này làm gì
Công cụ này giúp thiết lập và cải thiện việc theo dõi dữ liệu trên các trang web và ứng dụng. Nó đảm bảo bạn thu thập đúng thông tin để hiểu cách người dùng tương tác với sản phẩm và đưa ra quyết định tốt hơn.
Khi nào nên dùng
- ✓Khi bạn muốn biết người dùng hay bấm vào nút nào nhất.
- ✓Khi bạn muốn biết khách truy cập đến từ đâu (ví dụ Google, mạng xã hội).
- ✓Khi bạn ra mắt một tính năng mới và muốn xem mọi người có dùng không.
Liên kết skill
https://github.com/coreyhaines31/marketingskills/blob/main/skills/analytics/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm sao để thiết lập theo dõi, biết được có bao nhiêu người hoàn tất mua hàng trên trang web của tôi?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ hoạt động bằng cách hiểu thông tin nào quan trọng với doanh nghiệp của bạn. Sau đó, nó gợi ý cách cấu hình các công cụ như Google Analytics hoặc Google Tag Manager để thu thập dữ liệu này một cách có tổ chức và đáng tin cậy.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Analytics Tracking
You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions.
Initial Assessment
Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Before implementing tracking, understand:
- Business Context - What decisions will this data inform? What are key conversions?
- Current State - What tracking exists? What tools are in use?
- Technical Context - What's the tech stack? Any privacy/compliance requirements?
Core Principles
1. Track for Decisions, Not Data
- Every event should inform a decision
- Avoid vanity metrics
- Quality > quantity of events
2. Start with the Questions
- What do you need to know?
- What actions will you take based on this data?
- Work backwards to what you need to track
3. Name Things Consistently
- Naming conventions matter
- Establish patterns before implementing
- Document everything
4. Maintain Data Quality
- Validate implementation
- Monitor for issues
- Clean data > more data
5. Compute, Don't Eyeball
- Derive every total, rate, and delta from row-level data with a script or spreadsheet — never by scanning rows and summing mentally. One silently dropped row corrupts every figure downstream of it.
- Cross-check each headline figure a second, independent way (a reconciliation total, a recomputation from a different grouping) before reporting it, and chase any mismatch to the exact row.
- When a claim is about one segment — a single campaign, ad set, channel, or week — report that segment's own numbers. Never fold it into a neighboring group and let the group's total speak for it.
6. Match Observation Windows
- A rate or efficiency metric divides a numerator and denominator that cover the same closed observation window. Never divide a full period's spend by a partial period's conversions or revenue — restate both over the weeks that actually have data, and say which weeks those are.
- Cohort rates use only cohorts whose observation window has ended. A trial or signup still inside its window is pending, not failed — exclude it from the denominator and label it as pending rather than counting it against the rate.
7. Recommend Against the Stated Goal
- Analysis ends in a recommendation, and the recommendation must be argued from the goal the brief states — the launch target, audience, revenue, or positioning objective — not only from what is operationally easiest. Name which stated goal each option serves and what it trades away.
Tracking Plan Framework
Structure
Event Name | Category | Properties | Trigger | Notes
---------- | -------- | ---------- | ------- | -----
Event Types
| Type | Examples |
|---|---|
| Pageviews | Automatic, enhanced with metadata |
| User Actions | Button clicks, form submissions, feature usage |
| System Events | Signup completed, purchase, subscription changed |
| Custom Conversions | Goal completions, funnel stages |
For comprehensive event lists: See references/event-library.md
Event Naming Conventions
Recommended Format: Object-Action
signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed
Best Practices
- Lowercase with underscores
- Be specific:
cta_hero_clickedvs.button_clicked - Include context in properties, not event name
- Avoid spaces and special characters
- Document decisions
- Keep provider-defined names when using automatic or recommended events (e.g. GA4
click,view_search_results,purchase). Map internal business names explicitly; naming a custom event does not make the provider collect it automatically.
Essential Events
Marketing Site
| Event | Properties |
|---|---|
| cta_clicked | button_text, location |
| form_submitted | form_type |
| signup_completed | method, source |
| demo_requested | - |
Product/App
| Event | Properties |
|---|---|
| onboarding_step_completed | step_number, step_name |
| feature_used | feature_name |
| purchase_completed | plan, value |
…
Câu hỏi thường gặp
“Events” là gì?
Events là những hành động cụ thể xảy ra trên trang web hoặc ứng dụng của bạn, như bấm nút, gửi biểu mẫu hoặc mua hàng.
Vì sao theo dõi dữ liệu lại quan trọng?
Theo dõi dữ liệu giúp bạn hiểu hành vi người dùng, nhận ra điều gì hiệu quả và điều gì không, rồi đưa ra quyết định dựa trên sự thật để cải thiện sản phẩm hoặc tiếp thị.
“UTM parameters” là gì?
Đây là các mã bạn thêm vào liên kết để biết khách truy cập đến từ chiến dịch, nguồn hay phương tiện nào. Nó giúp đo lường hiệu quả tiếp thị của bạn.
Chi tiết
Mô tả gốc của tác giả
When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn'
Độ phổ biến
- Sao GitHub
- 55k
- Vị trí xếp hạng
- #3292
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
ab-testing
55kGiúp agent của bạn lên kế hoạch và chạy các thử nghiệm A/B. Hữu ích để so sánh các phiên bản khác nhau của một thứ nhằm xem phiên bản nào hiệu quả hơn.
ad-creative
55kGiúp agent của bạn tạo và cải thiện quảng cáo. Hữu ích để tạo nội dung quảng cáo hiệu quả hơn cho các nền tảng khác nhau.
ads
55kGiúp agent của bạn với các chiến dịch quảng cáo trả phí. Hữu ích để quản lý quảng cáo trên các nền tảng như Google và Facebook.
ai-seo
55kGiúp agent của bạn tối ưu nội dung cho tìm kiếm bằng AI. Hữu ích để nội dung của bạn xuất hiện trong các câu trả lời do AI tạo ra.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.