Communitygithub.com

mardab96/tiktok-ads-claude-skills

TikTokピクセルとEvents APIのヘルスチェックを、Events ManagerのスクリーンショットとAds Managerのエクスポートから実施し、イベントマッチングシグナル、ブラウザとサーバーイベント間のevent_id重複排除、バリューイベントのパラメータ完全性、安定したクリックに対するプライマリイベントの低下(T10)をカバーします。TikTokメディアバイヤーが「購入が急減したがクリックは横ばい」「TikTokピクセルを確認して」「Events APIで重複排除できているか」「Events Managerに診断警告が出ている」「TikTokのバリューが自社注文と合わない」と言った場合、またはTikTokコンバージョンデータに依存する入札、予算、スケール変更の前などに使用します。

tiktok-ads-claude-skills とは?

このスキル(mardab96/tiktok-ads-claude-skills)は、TikTok広告のピクセルおよびEvents APIのトラッキング正常性を診断するための専門ツールです。主に、Events ManagerのスクリーンショットとAds Managerのエクスポートデータを解析し、イベントマッチングシグナルの欠落、ブラウザ/サーバーイベント間のevent_id重複排除の不備、バリューイベントのパラメータ不完全性、クリックが安定しているのにコンバージョンが大幅に低下する「T10」現象を検出します。Shopify、WooCommerceなどのプラットフォームで使用可能で、開発者とメディアバイヤー双方への明確な引き継ぎを生成します。診断はT10チェック、重複排除やパラメータ確認、変更ログとの突き合わせを通じて行われ、確定的な証拠がない限り「確認済み」とは判断しません。このスキルはトラッキングが健全であることの確認と、問題発生時の具体的な修正指示を提供し、予算や入札変更には慎重なアプローチを推奨します。

対応✓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に質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ピクセルとEvents API チェック: TikTok広告

このスキルを使用するタイミング

バイヤーが、CPA、ROAS、学習フェーズの行動に対処する前に、TikTokが最適化の対象とするコンバージョンシグナルを受信しているかどうかを確認する必要がある場合。診断はEvents ManagerのスクリーンショットとAds Managerのエクスポートから実行します。ClaudeにTikTok for Businessコネクタがあると役立ちますが、必須ではありません。

典型的なリクエスト:

  • 「TikTokでの購入が昨日突然激減したが、トラフィックは正常に見える。」
  • 「Shopifyアプリ経由でEvents 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(アカウントのラベルに応じてアセットまたはイベントマネージャーから開始)で、データソースを選択し、以下をキャプチャします:

  1. 概要: データソース名、接続方法(ピクセル、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、カスタムビルド、アプリ)。
  • プライマリとして扱われるイベントと、それぞれを発生させるべきユーザーアクション。
  • プライマリイベントのコンバージョンラグ(日数)。
  • 日付付きの変更ログ: テーマ、チェックアウト、同意バナー、タグマネージャー、Events APIパートナーまたはゲートウェイの変更。

欠落している項目はすべて、出力で needs_data として、名前と、それがブロックする結論とともにリストされます。

オプションの入力

  • 同じ期間の日次バックエンド注文数またはリード数(shop_export または analytics_export)。トラッキング損失と実際の需要減少を区別します。
  • event_idがブラウザとサーバーでどのように生成されるかを示す開発者ノートまたはペイロードサンプル。
  • 同意バナーの設定と、それが適用される地域。

分析前の確認

  1. 各キャンペーンがどのデータソースを使用しているかを確認します。複数のピクセルを持つアカウントや、古いピクセルと新しいピクセルが混在するアカウントでは、誰も監視していないソースに対して最適化が行われていることがよくあります。
  2. 広告グループ設定のスクリーンショットから、キャンペーンごとのプライマリイベント名を確認します。エクスポートの列名では、どのイベントがコンバージョンとしてカウントされているかが隠れている可能性があるためです。
  3. トレンドを読む前に、現在のウィンドウからコンバージョンラグと低下ラグの日数を記録します。
  4. 期間中に誰かがテスト購入またはテストリードを実行したかどうかを尋ねます。これらは少ないカウントを膨らませ、ノートに属します。

分析ワークフロー

  1. イベントマップを構築する。 データソースが受信するすべてのイベントをリストし、各キャンペーンがどのイベントを最適化しているかをマークし、ブラウザ、サーバー、または両方のどちらから到着するかを記録します。ビジネスがプライマリとして扱っていないイベントに対してキャンペーンが最適化されている場合、それだけで発見事項となります。
  2. 診断を日付付きの証拠として読む。 各メッセージ、その日付、影響を受けるイベントを記録します。診断は実装にシグナルが存在することを確認しますが、失われた収益を定量化することはありません。
  3. T10チェックを実行する。 現在のウィンドウからラグ日数を除外し、プライマリイベントとクリックを比較可能な2つの7日間ウィンドウで比較します。イベントが少なくとも30%低下し、クリックがベースラインの10%以内に留まっている場合(T10)、エスカレーションします。
  4. ピクセルとEvents APIが同じイベントを送信している場合、重複排除をチェックする。 両方のペイロードが、1つの実際のアクションに対して同じイベント名と同じevent_idを持つ必要があります。警告サイン: 報告されたイベントがバックエンドカウントのほぼ2倍、event_idが片方にしか存在しない、またはevent_idが2回生成される値(例: ブラウザとサーバーで個別に作成されたタイムスタンプ)から構築されている。
  5. イベントマッチングシグナルをチェックする。 各プライマリイベントのマッチングまたは品質ビューを読み、到着する顧客パラメータ(ハッシュ化されたメール、ハッシュ化された電話番号、external_id、ttclid、IP、ユーザーエージェント。ラベルに従う)をリストします。マッチパラメータが少ないサーバーイベントは、時間通りに到着しても帰属が不十分になる可能性があります。
  6. パラメータの完全性をチェックする。 購入タイプのイベントには、すべてのイベントにvalueとcurrencyが必要であり、ストアと一致する通貨、およびビジネスが使用する注文合計定義(税および送料を含むか含まないか)に従う値が必要です。カタログリンクされたイベントには、カタログIDと一致するcontent_id値が必要です。
  7. 変更ログをイベントタイムラインに配置する。 展開日に始まる低下は、それに可能性が高い(likely)関連しています。確認には、テストイベントの失敗、一致する診断、または開発者によるチェックが必要です。
  8. バックエンドカウントが提供されている場合、相互チェックする。 バックエンドの注文が安定している一方でTikTokイベントが減少した場合はトラッキング問題を示します。バックエンドの注文が同様の割合で減少している場合は、需要、オファー、またはサイトの問題を示し、このスキルからルーティングされます。
  9. 引き継ぎを書く: 開発者が確認すること、バイヤーが保留するメディアアクション、および修正を証明するカウント。

判定ルール

条件証拠判定次のステップ
プライマリイベントが少なくとも30%低下し、クリックがベースラインの10%以内に留まっている、成熟したウィンドウ(T10)ads_export + events_diagnostics可能性が高い(likely)トラッキング損失。テストイベントの失敗または一致する診断がある場合のみ確認済み(confirmed)開発者への引き継ぎ。影響を受けるキャンペーンの予算、入札、クリエイティブ削除を保留(hold)
T10が成立し、バックエンド注文も同様の割合で減少ads_export + shop_export可能性あり(possible)トラッキング問題、需要またはサイト原因の可能性が高いcpa-spike-diagnosis-tiktok-ads または landing-page-match-tiktok-ads にルーティング
ブラウザとサーバーが共有のevent_idなしで1つのアクションを送信セットアップまたはペイロードのスクリーンショット確認済み(confirmed)重複排除ギャップバリューベース入札作業の前に、サイト所有者からのevent_id修正の承認が必要(approval_needed)
Events APIが稼働した日に、報告対バックエンド比率が急上昇events_diagnostics + shop_export + change_log可能性が高い(likely)二重計上上記と同じ。修正後、1週間完全に再測定
購入イベントでvalueまたはcurrencyが欠落または間違っているevents_diagnostics または スクリーンショット確認済み(confirmed)バリューベース入札の決定を保留(hold)。修正後、bid-strategy-check-tiktok-ads にルーティング
診断警告が存在するが、イベントはクリックを追跡しているevents_diagnostics監視(monitor)通常の開発者キューに記録
実装が送信すると主張するよりも少ないマッチパラメータマッチングビューのスクリーンショット可能性あり(possible)帰属損失高度なマッチングとサーバーペイロードの開発者チェック
診断キャプチャまたはクリックエクスポートが欠落なしneeds_data名前付きキャプチャをリクエスト

T10は調査を開始します。失われた収益は、バックエンド比較がそれを提供しない限り、サイズが不明のままです。

出力形式

## ピクセルとEvents API チェック: [データソース]、[日付]、[タイムゾーン]

**判定:** [共有判定ラベル](理由: [最も強力な証拠])
**プライマリイベント:** [名前] | **接続:** [ピクセル / Events API / 両方] | **除外したラグ:** [日数]

### イベントマップ
| イベント | ソース(ブラウザ/サーバー/両方) | 最適化対象 | ビジネス上の意味 | ステータス |
|---|---|---|---|---|

### T10ウィンドウチェック
| ウィンドウ | 日付 | クリック数 | プライマリイベント数 | ベースラインからの変化 |
|---|---|---|---|---|
| ベースライン | | | | |
| 現在 | | | | |
T10結果: [成立 / 不成立 / needs_data]

### 重複排除とパラメータ
- ブラウザ上のevent_id: [はい / いいえ / 不明]; サーバー上のevent_id: [はい / いいえ / 不明]; アクションごとに共有: [はい / いいえ / 不明]
- 購入イベントのvalueとcurrency: [所見 + 証拠タグ]
- content_idがカタログと一致: [所見 + 証拠タグ]
- 確認されたマッチパラメータ: [リスト]

### 判定テーブル
| 所見 | 証拠 | 判定 | 深刻度 | 確信度 | ビジネス影響 | 次のステップ |
|---|---|---|---|---|---|---|

### 開発者への引き継ぎ
1. [確認事項] | 担当者: [名前] | 確認方法: [テストイベントの実行またはカウント比較]

### 保留中のメディアアクション
- [キャンペーンとアクション] は [条件] まで保留

### 再測定計画
[修正が機能したことを示すウィンドウ、カウント、比率]

### データギャップ
- [欠落項目]: [結論] をブロック

実用的な例

架空のストアの例示的な数字であり、ベンチマークではありません。Shopifyのスキンケアブランドが1つのキャンペーンをCompletePaymentに最適化しています。ベースライン週: クリック4,210、CompletePaymentイベント162。現在週: クリック4,050(3.8%減)、イベント88(45.7%減)。T10が成立。Shopifyは現在週に151件の注文(ベースラインは158件)を示しており、需要は維持されています。

変更ログには、現在週の2日目に新しいチェックアウト拡張機能がデプロイされたと記載されています。Events Managerには、同日付のCompletePaymentに関する診断がリストされています。イベントソースビューは、サーバーイベントが継続している一方でブラウザイベントが停止していることを示しています。

出力: トラッキング損失は可能性が高い(likely)、深刻度高、影響は測定(measurement)。開発者への引き継ぎでは、ブラウザの購入イベントが新しいチェックアウトで発火すること、およびブラウザとサーバーが復旧後に1つのevent_idを共有することを確認するよう求めます。これにより、修復が二重計上に陥るのを防ぎます。保留中のメディアアクション: 該当キャンペーンに対する予算削減、クリエイティブ削除、入札変更はなし。影響を受けた日数のCPAは欠落イベントによって膨らんでいるためです。再測定: 修正後、丸1週間のウィンドウで、TikTok対Shopifyの比率が変更前の範囲内に戻っていることを確認します。

よくある誤解

  • CPAだけでトラッキングが壊れていると判断すること。CPAはオークション、クリエイティブ、ページ理由で上昇します。T10にはクリック比較が必要です。
  • 診断警告を売上損失の証明として扱うこと。一部の警告は健全なボリュームと共存します。
  • Events APIが起動した週にコンバージョンの急増を祝福すること。欠落または不一致のevent_idが一晩でカウントを2倍にする可能性があります。
  • TikTokイベントがShopifyの注文と等しいと期待すること。クリックおよびビューウィンドウによりこれらは異なります。重要なのは時間の経過に伴う比率の安定性であり、それは attribution-gap-check-tiktok-ads に属します。
  • 現在のウィンドウにラグ日数を含めると、どの週も低下しているように見えます。
  • ある地域での同意バナーの変更を見逃すと、ブラウザイベントが減少し、サーバーイベントは継続する可能性があります。
  • GMV Maxの下でウェブサイトピクセルイベントとTikTok Shopの注文を1つのストリームとして読むこと。

次のルート

  • トラッキングが正常であることが確認され、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。

ガードレール

  • ピクセル、Events 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.

関連スキル