Skip to content
Skillpedia
Security75k · #3056

third-party-cookies

What it does

This skill checks which cookies are set by domains other than the site a visitor is on. It is for website owners who need to follow privacy laws and reduce tracking.

When to use it

  • ✓When a website loads ads, analytics or widgets that set cookies from other companies.
  • ✓When a site has no cookie consent step before tracking starts.
  • ✓When preparing a site for privacy rules such as GDPR or CCPA.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/third-party-cookies/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“My website loads a lot of outside scripts. Can you check which ones set tracking cookies and whether they need consent?”

5 new skills a week. 1 minute to read.

How it works

The agent reviews the cookie and network information for outside domains. It then suggests removing unneeded scripts, or asking for consent before they set cookies.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

What is a third-party cookie?

It is a cookie set by a domain other than the site the visitor is on, often by ad networks or analytics tools.

Which privacy laws does this relate to?

The skill mentions GDPR in the EU, CCPA in California and PECR in the UK.

What can replace cross-site tracking?

The skill suggests first-party data, privacy-focused analytics such as Plausible or Fathom, and server-side tracking.

Details

Original description by the author

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

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#3056
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills