本文へスキップ
Skillpedia
セキュリティ75k · #3056

third-party-cookies

できること

このスキルは、訪問者のいるサイト以外のドメインが設定した Cookie を確認します。プライバシー法に従い、トラッキングを減らしたいサイト運営者向けです。

使う場面

  • ✓広告、アクセス解析、ウィジェットが、外部の企業の Cookie を設定しているとき。
  • ✓トラッキングを始める前に、Cookie の同意の手順がないとき。
  • ✓GDPR や CCPA などのプライバシー規則に向けてサイトを準備するとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/third-party-cookies/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/third-party-cookies/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のサイトは多くの外部スクリプトを読み込んでいます。どれがトラッキング Cookie を設定し、同意が必要か確認してもらえますか。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、外部ドメインの Cookie とネットワークの情報を確認します。不要なスクリプトを削除するか、Cookie を設定する前に同意を求めることを提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Avoid third-party cookies

Third-party cookies enable advertising networks to build detailed behavioral profiles of users across every site they visit — without users being aware. Regulatory penalties for non-compliance with GDPR reach up to 4% of global annual turnover.

Quick Reference

  • Third-party cookies are set by a domain other than the one the user is visiting — typically by ad networks, analytics, or embedded widgets
  • Chrome is removing third-party cookie support and all major browsers now block or restrict them
  • Use the Network DevTools panel to identify Set-Cookie headers from third-party domains
  • GDPR (EU), CCPA (California), and PECR (UK) require informed consent before setting non-essential cookies
  • Alternatives: first-party data collection, privacy-preserving analytics (Plausible, Fathom), server-side tracking

Check

Open the browser DevTools Network panel and Application panel (Cookies section). Identify all cookies set by domains other than the current domain. Check for tracking pixels, analytics scripts, and advertising tags that set cross-site cookies.

Fix

Audit and remove unnecessary third-party scripts. Replace cross-site tracking with privacy-preserving first-party analytics. Ensure any remaining third-party cookies are gated behind explicit user consent via a cookie consent mechanism.

Explain

Explain what third-party cookies are, how they enable cross-site tracking, why browsers are blocking them, and how GDPR/CCPA regulate their use.

Code Review

Review server config, headers, forms, and integration points related to Avoid third-party cookies. Flag exact responses, cookies, or browser behaviors that violate the rule, and verify them against the effective production-like response.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/privacy/third-party-cookies

よくある質問

サードパーティ Cookie とは何ですか?

訪問者のいるサイトとは別のドメインが設定する Cookie で、広告ネットワークやアクセス解析ツールがよく使います。

どのプライバシー法に関係しますか?

EU の GDPR、カリフォルニア州の CCPA、英国の PECR を挙げています。

サイトをまたぐトラッキングの代わりに何を使えますか?

ファーストパーティのデータ、Plausible や Fathom のようなプライバシー重視のアクセス解析、サーバー側のトラッキングを提案しています。

詳細

作者による元の説明

Use when reviewing a website for privacy compliance, third-party resource loading, or cookie consent implementation.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#3056
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル