Agent Skillskostja94/marketing-skills › cookie-policy-page-generator

cookie-policy-page-generator

GitHub

指导创建或优化网站Cookie政策页面,涵盖GDPR/CCPA合规要求。通过识别Cookie清单、判断同意机制及管辖区域,提供透明且符合法规的Cookie策略内容生成方案。

skills/pages/legal/cookie-policy/SKILL.md kostja94/marketing-skills

Trigger Scenarios

用户希望创建或优化Cookie政策页面 提及cookie policy, cookie consent, GDPR cookies, cookie banner等关键词

Install

npx skills add kostja94/marketing-skills --skill cookie-policy-page-generator -g -y
More Options

Non-standard path

npx skills add https://github.com/kostja94/marketing-skills/tree/main/skills/pages/legal/cookie-policy -g -y

Use without installing

npx skills use kostja94/marketing-skills@cookie-policy-page-generator

指定 Agent (Claude Code)

npx skills add kostja94/marketing-skills --skill cookie-policy-page-generator -a claude-code -g -y

安装 repo 全部 skill

npx skills add kostja94/marketing-skills --all -g -y

预览 repo 内 skill

npx skills add kostja94/marketing-skills --list

SKILL.md

Frontmatter
{
    "name": "cookie-policy-page-generator",
    "metadata": {
        "version": "1.1.0"
    },
    "description": "When the user wants to create or optimize a cookie policy page. Also use when the user mentions \"cookie policy,\" \"cookies,\" \"cookie consent,\" \"GDPR cookies,\" \"cookie banner,\" \"cookie notice,\" \"tracking cookies,\" or \"cookie settings.\" For legal overview, use legal-page-generator."
}

Pages: Cookie Policy

Guides cookie policy page content for transparency and regulatory compliance. Often presented as a standalone page or as part of the Privacy Policy.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Initial Assessment

Identify:

  1. Cookie inventory: List every cookie the site actually sets — check _ga, _ga_*, session cookies, CSRF tokens, preference cookies, ad cookies
  2. Consent requirement: Does the site need a notice or a consent banner? See §Notice vs Consent
  3. Jurisdiction: GDPR/ePrivacy (EU), CCPA (California), other regions
  4. Product category: Free anonymous, freemium, SaaS, e-commerce — affects which cookies exist

Cookie Inventory: Common Patterns

Google Analytics 4 (GA4)

Cookie Type Purpose Duration How to Opt Out
_ga Analytics Distinguishes users; used for aggregate usage measurement 2 years GA opt-out browser add-on, block third-party cookies, or enable Do Not Track
_ga_<container-id> Analytics Persists session state; used with _ga for session-level metrics 2 years Same as _ga

Disclosure requirement: If the site uses Google Analytics, the cookie policy MUST list these cookies. GA ToS §7 requires posted privacy/cookie notice.

Functional / Session Cookies

Cookie Type Purpose Duration How to Opt Out
Session ID Essential Maintains user session across page loads Session (deleted on browser close) Required for service; cannot be disabled
CSRF Token Essential Prevents cross-site request forgery attacks Session Required for security; cannot be disabled
Fair-use quota Functional Counts daily usage for rate limiting 24 hours Clear browser data; resets on next visit
Language preference Functional Remembers user's language choice 30 days – 1 year Clear browser data
Dark mode / theme Functional Remembers display preference 30 days – 1 year Clear browser data

Advertising / Tracking Cookies (If Applicable)

Cookie Type Purpose Duration How to Opt Out
_fbp Marketing Meta/Facebook pixel — tracks ad conversions 90 days Meta ad preferences or block third-party cookies
_gcl_au Marketing Google Ads conversion linker 90 days Block third-party cookies
_rdt_uuid Marketing Reddit Ads conversion tracking 90 days Block third-party cookies

Notice vs Consent — Critical Distinction

This is the most common compliance confusion. Determining which mechanism is needed depends on cookie type:

Cookie Notice (Informational)

When to use: Site uses only strictly necessary and analytics cookies (no advertising, no tracking, no third-party marketing cookies).

What it is: A banner or page section stating "We use cookies for [analytics/functionality]. By continuing, you accept this." No accept/reject toggle needed.

Sufficient for: GA4 analytics only, session cookies, CSRF tokens, functional preference cookies.

Cookie Consent Banner (Interactive)

When to use: Site uses any of: advertising cookies, third-party tracking cookies, social media pixels, or cookies that share data with ad networks.

What it is: An interactive banner with accept/reject/customize options. Must allow granular consent by cookie category. Must be as easy to reject as to accept. Must not use dark patterns (pre-checked boxes, confusing language, "accept all" only).

Required for: Meta pixel, Google Ads conversion tracking, retargeting cookies, any cross-site tracking.

Do Not Track (DNT)

State whether the site responds to browser DNT signals. Most sites do not, which is acceptable as long as disclosed. Example: "[Product] does not currently respond to Do Not Track signals because no uniform standard exists."


Essential Elements

1. What Are Cookies

Brief, plain-language explanation: "Cookies are small text files stored on your device by websites you visit. They help sites remember your preferences and understand how you use them."

2. Cookie Types Used

Categorize by function:

  • Essential / Strictly Necessary: Required for the site to work (session, CSRF)
  • Functional: Remember preferences (language, theme, fair-use quota)
  • Analytics / Performance: Measure usage in aggregate (GA4)
  • Marketing / Advertising: Track ad effectiveness, retargeting (if applicable)

3. Full Cookie Table

Table format for every cookie:

Cookie Name Type Purpose Duration How to Opt Out
[name] [essential/functional/analytics/marketing] [1-sentence purpose] [duration] [specific actionable instruction]

The "How to Opt Out" column is critical — don't just list cookies, tell users how to control them. This builds trust and satisfies regulatory expectations.

4. Third-Party Cookies

  • Which third parties set cookies through the site (GA4, Meta, Stripe, etc.)
  • Link to each third party's own privacy/cookie policy
  • Whether those third parties use cookies for their own purposes

5. How to Manage Cookies

  • Browser settings: link to instructions for Chrome, Firefox, Safari, Edge
  • GA4-specific: link to GA opt-out browser add-on
  • Mobile: how to manage cookies in iOS/Android settings
  • Effect of disabling: note that disabling essential cookies may break functionality

6. Updates

  • When the cookie policy was last updated
  • How users will be notified of changes

Content Principles

  • Be exhaustive: List every cookie the site sets — missing one is worse than having no cookie policy
  • Actionable opt-out: Every cookie should have a clear "how to opt out" instruction
  • Categorize clearly: Essential / Functional / Analytics / Marketing — users understand these categories
  • Notice-vs-consent clarity: Be explicit about which mechanism the site needs and why
  • Plain language: "This cookie counts your daily usage" > "This cookie is used for rate-limiting enforcement"
  • Placement: Footer; cookie banner links here; Privacy Policy links here

Output Format

  • Cookie inventory: Complete table of all cookies the site sets
  • Consent mechanism recommendation: Notice or consent banner, with rationale
  • Opt-out instructions: Browser-level and cookie-specific
  • Third-party cookie disclosure: If applicable, with links to third-party policies
  • Do Not Track disclosure: Whether the site responds to DNT
  • Disclaimer: Recommend legal review for jurisdiction-specific compliance

Related Skills

  • privacy-page-generator: Cookie policy often embedded in or linked from Privacy Policy
  • legal-page-generator: Cookie policy is a legal page type; platform readiness
  • indexing: Often noindex for cookie policy

Version History

  • 70987ba Current 2026-07-06 00:06

Same Skill Collection

skills/analytics/seo/seo-monitoring/SKILL.md
skills/analytics/sources/ai-traffic/SKILL.md
skills/analytics/sources/traffic/SKILL.md
skills/analytics/tracking/SKILL.md
skills/channels/community/community-forum/SKILL.md
skills/channels/community/product-hunt-launch/SKILL.md
skills/channels/distribution/distribution-channels/SKILL.md
skills/channels/owned/email-marketing/SKILL.md
skills/channels/owned/employee-generated-content/SKILL.md
skills/channels/partnerships/affiliate-marketing/SKILL.md
skills/channels/partnerships/creator-program/SKILL.md
skills/channels/partnerships/education-program/SKILL.md
skills/channels/partnerships/influencer-marketing/SKILL.md
skills/channels/partnerships/public-relations/SKILL.md
skills/channels/partnerships/referral-program/SKILL.md
skills/components/branding/favicon/SKILL.md
skills/components/branding/hero/SKILL.md
skills/components/branding/logo/SKILL.md
skills/components/content/tab-accordion/SKILL.md
skills/components/conversion/cta/SKILL.md
skills/components/conversion/newsletter-signup/SKILL.md
skills/components/conversion/popup/SKILL.md
skills/components/conversion/testimonials/SKILL.md
skills/components/conversion/trust-badges/SKILL.md
skills/components/layout/card/SKILL.md
skills/components/layout/carousel/SKILL.md
skills/components/layout/grid/SKILL.md
skills/components/layout/list/SKILL.md
skills/components/layout/masonry/SKILL.md
skills/components/navigation/breadcrumb/SKILL.md
skills/components/navigation/footer/SKILL.md
skills/components/navigation/navigation-menu/SKILL.md
skills/components/navigation/sidebar/SKILL.md
skills/components/navigation/toc/SKILL.md
skills/components/utility/social-share/SKILL.md
skills/components/utility/top-banner/SKILL.md
skills/components/utility/url-slug/SKILL.md
skills/content/copywriting/SKILL.md
skills/content/podcast/SKILL.md
skills/content/translation/SKILL.md
skills/content/video/SKILL.md
skills/content/visual-content/SKILL.md
skills/pages/brand/about/SKILL.md
skills/pages/brand/contact/SKILL.md
skills/pages/brand/home/SKILL.md
skills/pages/content/api/SKILL.md
skills/pages/content/article/SKILL.md
skills/pages/content/blog/SKILL.md
skills/pages/content/docs/SKILL.md
skills/pages/content/faq/SKILL.md

Metadata

Files
0
Version
70987ba
Hash
1e50fbb4
Indexed
2026-07-06 00:06

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 07:05
浙ICP备14020137号-1 $Гость$