Communitygithub.com

mardab96/tiktok-ads-claude-skills

透過 Events Manager 截圖與 Ads Manager 匯出檔案,檢查 TikTok 像素與事件 API 的健康狀況,涵蓋事件匹配訊號、事件 ID 去重、參數完整性及主要事件相對於穩定點擊數(T10)的下降情況。

tiktok-ads-claude-skills 是什麼?

這項技能專門用於診斷 TikTok 廣告轉換追蹤問題,特別是當媒體買手回報「轉換數下降但點擊數持平」時。它透過分析 Events Manager 截圖(包含事件清單、診斷訊息、匹配品質、參數完整性)與 Ads Manager 匯出(28 天廣告活動層級資料)來找出根本原因。技能支援 Pixel、Events API 或兩者並用的連線方式,能夠檢查事件 ID 去重、參數完整性(如 value、currency、content_id),並透過 T10 規則(事件下降 ≥30% 且點擊數變化在 ±10% 內)判斷是否為追蹤遺失。此工具適用於 Claude Code、Cursor 及 Codex 等 AI 代理平台,輸出包含事件地圖、T10 視窗檢查、去重分析、決策表格與開發者交接事項,並明確規範何時不應使用(如歸因差距或 CPA 飆升問題)。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mardab96/tiktok-ads-claude-skills/tree/HEAD/pixel-events-api-check-tiktok-ads

在你喜歡的 AI 中提問

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

說明文件

像素與事件 API 檢查:TikTok 廣告

使用時機

當買家需要確認 TikTok 是否收到最佳化所需的轉換訊號,且在任何人根據 CPA、ROAS 或學習階段行為採取行動之前。診斷依據來自 Events Manager 截圖與 Ads Manager 匯出。若有 TikTok for Business 連接器在 Claude 中,則可使用,但非必要。

典型請求:

  • "TikTok 的購買轉換昨天暴跌,但流量看起來正常。"
  • "我們透過 Shopify 應用程式加入了事件 API。現在會不會重複計數?"
  • "Events Manager 對 CompletePayment 顯示警告。這有影響嗎?"
  • "TikTok 的購買價值遠遠偏離我們的訂單總額。"
  • "在我們更改出價之前,請確認追蹤是乾淨的。"

不應使用此技能的情況:

  • TikTok 與 GA4、Shopify 或 CRM 不一致,但每個來源內部看起來健康。請執行 attribution-gap-check-tiktok-ads。
  • CPA 上升且事件數量仍跟隨著點擊數。請執行 cpa-spike-diagnosis-tiktok-ads。
  • 事件量維持不變,但在頁面或優惠變更後轉換率下降。請執行 landing-page-match-tiktok-ads。
  • 請求背後是 TikTok Shop 訂單與費用問題。請執行 gmv-max-profit-check-tiktok-ads。

必要輸入

追蹤診斷需要兩方面的資料:網站發送的和 TikTok 接收的。截圖即足夠。

從 Events Manager(從 Assets 或 Events Manager 開始,依帳號標籤而定),選取資料來源並擷取:

  1. 概覽:資料來源名稱、連線方式(Pixel、Events API 或兩者)、最後接收時間。
  2. 事件清單:每個事件名稱及過去 14 天的量,並在顯示處附上瀏覽器與伺服器的拆分。
  3. 診斷:每則訊息及其日期與受影響的事件,盡可能以文字形式複製。
  4. 每個主要事件的匹配或事件品質檢視,依 Events Manager 中的標籤而定。
  5. 每個主要事件的事件詳細資料或參數檢視,顯示哪些參數有送達(value、currency、content_id、content_type)。
  6. 一次全新測試購買或潛在客戶的測試事件檢視,如果團隊可以安全執行一次。

從 Ads Manager,一個涵蓋 28 天的每日廣告活動層級匯出,並包含以下欄位(依匯出的標籤而定):日期、廣告活動名稱、最佳化事件、花費、曝光次數、點擊次數(目標)、轉換次數、每次轉換成本,以及相關的總購買價值或轉換價值。28 天提供一個乾淨的 7 天基線和當前視窗,用於 T10 且有足夠的延遲空間。

從業務端:

  • 網站 URL 和平台(Shopify、WooCommerce、自建、應用程式)。
  • 視為主要事件的事件,以及應觸發每個事件的使用者動作。
  • 主要事件的轉換延遲天數。
  • 有日期的變更紀錄:主題、結帳、同意橫幅、標籤管理器、事件 API 合作夥伴或閘道變更。

每個缺失的項目在輸出中都將標記為 needs_data,並說明它阻礙了哪個結論。

選擇性輸入

  • 相同日期範圍的後端訂單或潛在客戶每日計數(shop_export 或 analytics_export)。這有助於區分追蹤遺失與真實需求下降。
  • 開發者備註或 Payload 範例,顯示 event_id 在瀏覽器和伺服器端是如何產生的。
  • 同意橫幅設定及其適用的區域。

分析前

  1. 確認每個廣告活動使用哪個資料來源。擁有多個像素或新舊像素並存的帳戶,常會針對沒人監控的來源做最佳化。
  2. 從廣告群組設定截圖中確認每個廣告活動的主要事件名稱,因為匯出欄位名稱可能隱藏哪個事件被計為轉換。
  3. 在讀取任何趨勢前,記錄當前視窗的轉換延遲和下降延遲天數。
  4. 詢問是否有人在該期間內執行過測試購買或測試潛在客戶;這些會膨脹小計數,應歸入備註。

分析流程

  1. 建立事件地圖。列出資料來源收到的每個事件,標記每個廣告活動最佳化目標,並註明事件是來自瀏覽器、伺服器或兩者。若廣告活動最佳化目標的事件並非業務端視為主要事件,則這本身就是一個發現。
  2. 將診斷訊息視為有日期的證據。記錄每則訊息、日期及受影響的事件。診斷訊息確認有實作訊號存在;它們從來無法量化收入損失。
  3. 執行 T10 檢查。比較兩個可比較的 7 天視窗(已從當前視窗移除延遲天數)的主要事件與點擊數。當事件下降至少 30% 而點擊數在基線的 10% 範圍內時(T10),應升級處理。
  4. 每當 Pixel 和 Events API 發送相同事件時,檢查去重。兩者的 Payload 需要相同的事件名稱和相同的 event_id 來對應一個真實動作。警訊:回報事件數接近後端計數的兩倍,event_id 僅存在於其中一端,或 event_id 是由一個生成兩次的值所建構(例如在瀏覽器和伺服器分別建立的時間戳記)。
  5. 檢查事件匹配訊號。讀取每個主要事件的匹配或品質檢視,並列出送達的客戶參數(hashed email、hashed phone、external_id、ttclid、IP、user agent,依標籤而定)。一個匹配參數少的伺服器事件可以按時送達,但歸因效果仍然不佳。
  6. 檢查參數完整性。購買類型事件需要在每個事件上都有 value 和 currency、與商店相符的貨幣,以及遵循業務端使用的訂單總額定義(含或不含稅金和運費)。目錄連結事件需要 content_id 值與目錄 ID 相符。
  7. 將變更紀錄放在事件時間軸上。從部署日期開始的下降 likely 與之相關。確認需要測試事件失敗、相符的診斷訊息或開發者檢查。
  8. 當提供後端計數時,進行交叉比對。後端訂單穩定而 TikTok 事件下降指向追蹤問題。後端訂單以類似比例下降則指向需求、優惠或網站,並應引導至其他技能。
  9. 撰寫交接事項:開發者應檢查什麼、買家應暫緩哪些媒體操作、以及哪些計數將證明修復有效。

決策規則

條件證據判定下一步
主要事件下降至少 30%,而點擊數在基線 10% 範圍內,且為成熟視窗(T10)ads_export + events_diagnosticslikely 追蹤遺失;僅在測試事件失敗或匹配診斷訊息時 confirmed開發者交接;對受影響的廣告活動 hold 預算、出價和素材移除
T10 成立且後端訂單以類似比例下降ads_export + shop_exportpossible 追蹤問題,但需求或網站原因更強引導至 cpa-spike-diagnosis-tiktok-ads 或 landing-page-match-tiktok-ads
瀏覽器和伺服器針對一個動作發送,但沒有共享的 event_id設定或 Payload 的 screenshotconfirmed 去重缺口需要網站擁有者 approval_needed 來修復 event_id,然後才能進行價值導向出價工作
事件 API 上線當天,回報與後端比率跳升events_diagnostics + shop_export + change_loglikely 重複計數同上;修復後重新測量一個完整週期
購買事件中 value 或 currency 遺失或錯誤events_diagnostics 或 screenshotconfirmedhold 價值導向出價決策;修復後引導至 bid-strategy-check-tiktok-ads
診斷警告存在,但事件仍追蹤點擊數events_diagnosticsmonitor記入正常開發者佇列
匹配參數少於實作聲稱要發送的匹配檢視的 screenshotpossible 歸因損失開發者檢查進階匹配與伺服器 Payload
診斷截圖或點擊匯出遺失無needs_data請求指定的截圖

T10 觸發調查。收入損失保持未量化,除非有後端比較來提供。

輸出格式

## 像素與事件 API 檢查:[資料來源],[日期範圍],[時區]

**判定:** [共享判定標籤] 因為 [最強證據]
**主要事件:** [名稱] | **連線方式:** [Pixel / Events API / 兩者] | **排除延遲:** [天數]

### 事件地圖
| 事件 | 來源 (瀏覽器 / 伺服器 / 兩者) | 被最佳化 | 業務含義 | 狀態 |
|---|---|---|---|---|

### T10 視窗檢查
| 視窗 | 日期 | 點擊數 | 主要事件 | 與基線相比的變化 |
|---|---|---|---|---|
| 基線 | | | | |
| 目前 | | | | |
T10 結果:[met / not met / needs_data]

### 去重與參數
- 瀏覽器上的 event_id:[是 / 否 / 未知];伺服器上的 event_id:[是 / 否 / 未知];每個動作共享:[是 / 否 / 未知]
- 購買事件上的 value 與 currency:[發現 + 證據標籤]
- content_id 與目錄相符:[發現 + 證據標籤]
- 看到的匹配參數:[清單]

### 決策表格
| 發現 | 證據 | 判定 | 嚴重性 | 信心水準 | 業務影響 | 下一步 |
|---|---|---|---|---|---|---|

### 開發者交接
1. [檢查項目] | 負責人:[名稱] | 驗證方式:[測試事件執行或計數比較]

### 暫緩的媒體操作
- [廣告活動與操作] 暫緩至 [條件]

### 重新測量計畫
[將顯示修復有效的視窗、計數和比率]

### 資料缺口
- [缺失項目]:阻礙了 [結論]

實務範例

以虛構商店的說明性數字為例,非基準。一個 Shopify 護膚品牌將一個廣告活動最佳化目標設為 CompletePayment。基線週:4,210 次點擊和 162 次 CompletePayment 事件。當前週:4,050 次點擊(下降 3.8%)和 88 次事件(下降 45.7%)。T10 成立。Shopify 顯示當前週有 151 筆訂單,相較於基線週的 158 筆,表示需求維持。

變更紀錄顯示,在當前週的第二天部署了一個新的結帳擴充功能。Events Manager 列出一個發生在相同日期的 CompletePayment 診斷訊息。事件來源檢視顯示伺服器事件持續發生,而瀏覽器事件則停止了。

輸出:追蹤遺失 likely,嚴重性高,影響 measurement。開發者交接要求確認瀏覽器購買事件在新的結帳流程中正常觸發,並且在修復後瀏覽器和伺服器共享同一個 event_id,以免修復導致重複計數。暫緩的媒體操作:不削減預算、不暫停素材、不更改該廣告活動的出價,因為其受影響天數的 CPA 因事件遺失而被膨脹。重新測量:修復後一個完整的 7 天視窗,TikTok 對 Shopify 的比率回到變更前的範圍內。

常見誤解

  • 僅憑 CPA 就斷定追蹤故障。CPA 會因競價、素材和頁面原因而上升;T10 需要點擊比較。
  • 將診斷警告視為銷售損失的證據。有些警告與健康的量共存。
  • 在事件 API 上線的當週對轉換數的跳升感到興奮。遺失或不匹配的 event_id 可能在一夜之間使計數翻倍。
  • 期望 TikTok 事件等於 Shopify 訂單。點擊和瀏覽視窗會使它們不同;重要的是比率隨時間的穩定性,而這屬於 attribution-gap-check-tiktok-ads。
  • 將延遲天數包含在當前視窗中,這會使任何一週看起來都像下降。
  • 忽略了某個區域的同意橫幅變更,這可能減少瀏覽器事件而伺服器事件持續。
  • 將網站像素事件和 GMV Max 下的 TikTok Shop 訂單視為同一串流來解讀。

後續引導

  • 追蹤確認健康,但 CPA 仍高:cpa-spike-diagnosis-tiktok-ads (T04)。
  • 事件健康,但與 Shopify、GA4 或 CRM 的差距改變:attribution-gap-check-tiktok-ads (T07)。
  • 修復已部署,之後需要編輯廣告活動:在進行任何即時變更前,先執行 learning-phase-guard-tiktok-ads (T05)。
  • 價值參數已修復,團隊想要進行價值導向出價變更:bid-strategy-check-tiktok-ads。

護欄

  • 請勿更改像素、事件 API、同意設定或網站程式碼。輸出止於開發者交接。
  • 若沒有測試事件失敗、診斷訊息或後端比較,請勿將追蹤標示為 confirmed 故障。
  • 請勿僅根據診斷訊息來估算收入損失。
  • 在重新測量完成前,請勿對主要事件符合 T10 的廣告活動建議預算、出價或素材變更。
  • 請勿要求原始客戶電子郵件、電話號碼或 IP 位址;參數覆蓋率截圖即足夠。
  • 請勿發明 Events Manager 選單或指標名稱;引用截圖中顯示的內容。

Individual skills in this repo

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

mardab96/tiktok-ads-claude-skills

Runs an ordered, layer-by-layer triage of an unfamiliar TikTok Ads account (tracking, structure, learning, creative, bidding, landing page) and hands the first blocker to one named sibling skill. Use when the user inherits a TikTok account, onboards a client, asks where to start, says TikTok results dropped with no known cause, asks whether an account is ready to scale, or says "audit this TikTok account" without naming a problem.

mardab96/tiktok-ads-claude-skills

Reconciles TikTok Ads Manager conversions with GA4, Shopify, CRM, or app analytics using a baseline-ratio method, separating click-through from view-through credit, attribution window and timezone differences, and real tracking drift (T07). Use when a TikTok media buyer or client says "TikTok says 200 sales, Shopify says 90", "GA4 does not show our TikTok conversions", "TikTok ROAS looks too good", "the gap got bigger this month", or "which number do we report to the client".

mardab96/tiktok-ads-claude-skills

Checks whether a TikTok ad group's bidding strategy fits its goal, budget, and conversion volume using the labels TikTok currently lists (Maximum Results, Target Cost per Result, value options as shown in the account) and asks for a screenshot before mapping any legacy name. Use when someone types "Maximum Results or Target Cost per Result", "Cost Cap vs Lowest Cost on TikTok", "our target CPA is too low and delivery died", "bid strategy check", or "should we use hybrid bidding".

mardab96/tiktok-ads-claude-skills

Builds a staged TikTok budget plan with entry gates, one change per observation window, stop rules, and a recorded rollback, using T04, T05, T06, and T10 from the shared register. Use when someone types "can we scale this TikTok campaign", "double the budget on the winner", "how fast can I raise the daily budget", "scale before the sale", or "plan the budget increase for next week".

mardab96/tiktok-ads-claude-skills

Strips personal data from TikTok ad comments, clusters them into objections, questions, proof requests, and noise with counts, links each cluster to product facts, and drafts reply options and hook ideas for approval. Use when the user pastes TikTok comments and asks "what are people objecting to", "mine the comments for hooks", "draft replies to these comments", "what do viewers keep asking", or wants an FAQ and creative briefs built from comment themes.

mardab96/tiktok-ads-claude-skills

Diagnoses a TikTok CPA jump by splitting it into CPM, CTR, and CVR movement between a baseline and a current window with the cpa_decompose.py helper, then checking tracking, changes, mix, creative, and landing page in that order. Use when someone types "TikTok CPA doubled", "cost per purchase is up 40%", "why did CPA spike", "CVR dropped but clicks are fine", or "the client wants to know what broke".

mardab96/tiktok-ads-claude-skills

Detects whether a TikTok ad is tiring by comparing the last seven distinct dates with the preceding seven for frequency and CTR, using the bundled fatigue_scan.py script and a 14-date rule, then builds a control-versus-refresh queue. Use when the user asks "is this TikTok ad fatigued", says CTR is dropping while frequency climbs, wants to know when to refresh TikTok creative, or pastes a daily ad export and asks which ads to replace.

mardab96/tiktok-ads-claude-skills

Turns TikTok Shop and GMV Max reporting into a per-product cost-stack ledger with refunds, affiliate commissions, seller-funded coupons, referral fees, ad spend, COGS, and seller-borne shipping, using gmv_profit.py to flag any incomplete cost stack (T09). Use when a TikTok Shop seller or media buyer says "GMV Max ROI looks great but we are not making money", "is this product profitable on TikTok Shop", "check our TikTok Shop margins", "affiliate commissions are eating us", or before raising a GMV Max budget or ROI target.

mardab96/tiktok-ads-claude-skills

Scores the opening seconds of TikTok ads by computing 2-second and 6-second view rates and a thumb-stop proxy from ad-level export columns, comparing them with like-for-like ads, and scoring the script opening on a five-point rubric. Use when the user asks "which TikTok hook is weak", "what's my hook rate", "why do people scroll past my ad", wants a hook test plan, or pastes a transcript of the first seconds next to video-view columns.

mardab96/tiktok-ads-claude-skills

Compares a TikTok ad's spoken and on-screen promise with what a phone user sees on the first mobile screen after the tap, then checks in-app browser load friction and form or checkout friction, and writes a repair brief. Use when a TikTok media buyer says "CTR is fine but nobody buys", "the ad says one thing and the page says another", "check this landing page against our TikTok ad", "landing page views are way below clicks", "our TikTok lead form converts badly", or before scaling a winning TikTok creative onto a new page.

mardab96/tiktok-ads-claude-skills

Sequences planned TikTok edits around the learning phase, separating urgent repairs from optimisation, naming which edits TikTok itself labels as affecting learning, and ordering one observable action at a time with rollback. Use when someone types "can I edit this ad group during learning", "will this reset the learning phase", "campaign is in learning, what can we change", "sequence these changes", or "the client wants five edits this week".

mardab96/tiktok-ads-claude-skills

Reviews TikTok Ads delivery split between the TikTok placement and Pangle or TikTok Ad Network inventory (as labelled in your Ads Manager), testing CPA and downstream quality per placement against T08 and keeping brand safety and suitability as a separate question. Use when a TikTok media buyer says "should we turn off Pangle", "where is our TikTok spend actually going", "automatic placement is eating budget", "network traffic converts badly", "is our TikTok ad showing next to unsafe content", or when a client asks for a placement and brand safety readout.

mardab96/tiktok-ads-claude-skills

Reviews TikTok Search Ads search terms and keywords and decides what to add as a keyword, add as a negative, or watch, with match handling as labelled in the account and a lag-aware waste floor. Use when someone types "review our TikTok search terms", "negative keyword list for TikTok Search Ads", "which queries should become keywords", "broad match is bringing junk", or "Search Ads spend with zero conversions".

mardab96/tiktok-ads-claude-skills

Audits a TikTok Smart+ campaign by mapping what Smart+ automates against what the media buyer still controls (creative supply, audience exclusions, conversion event, budget, bidding), then ranks the risks. Use when someone types "audit our Smart+ campaign", "what does Smart+ actually control", "Smart+ vs manual", "Smart+ spend is up but results are flat", or "can we trust Smart+ with this budget".

mardab96/tiktok-ads-claude-skills

Compares TikTok Spark Ads with brand-handle ads like-for-like by matching objective, optimization event, audience, offer, placements, bidding label, dates, and concept before any metric is read, then records authorization status and designs a matched test when no clean pair exists. Use when the user asks "do Spark ads perform better than our brand ads", "Spark vs non-Spark", "should we boost creator posts", "why is the creator ad cheaper", or pastes ad-level data with a format column and wants a verdict.

mardab96/tiktok-ads-claude-skills

Writes a complete creator-facing UGC brief for TikTok ads, with viewer situation, one message, three hook options, scene structure, claims allowed and forbidden, do and don't lists, disclosure, usage rights, and a Spark authorization note, plus an internal approval checklist. Use when the user says "write a UGC brief for TikTok", "brief a creator", "I need a creator script with approved claims", "what rights do I need to run this creator video as an ad", or has product facts and needs something a creator can film from.

mardab96/tiktok-ads-claude-skills

Finds mature TikTok campaigns, ad groups, and ads that spent past a CPA-based floor with zero reported conversions, after excluding rows still inside the conversion lag, using the wasted_spend.py helper. Use when someone types "where is the wasted spend on TikTok", "which ad groups burn budget with no conversions", "what can we cut before we scale", "zero conversion ads", or "clean this account before the client call".

mardab96/tiktok-ads-claude-skills

Writes the weekly TikTok Ads client report as a plain-language narrative, a scorecard against the client goal, and next-week decisions with owners and approvals, after an integrity check on tracking, lag, and learning status (T04, T05, T07, T10). Use when an agency or freelance TikTok media buyer says "write the weekly TikTok report", "client update is due", "explain this week's TikTok results to the client", "what do we tell the client about CPA going up", or "set up a repeatable TikTok report format".

mardab96/tiktok-ads-claude-skills

Turns one proven TikTok ad into N distinct angle scripts, each with hook, body beats, CTA, on-screen text, and a shot list, after deconstructing why the winner worked and checking every claim against product facts and rights. Use when the user says "remix my winning TikTok ad", "give me new angles on this winner", "I need five scripts like this one", "my best ad is wearing out, what next", or pastes a winning transcript and asks for variations.

相關技能