Cookie Policy Prompt Templates

AI prompt templates for cookie policies. Inform users about tracking and obtain proper consent.

Overview

Cookie policy prompts help you create the disclosures and consent mechanisms required when your website uses cookies and similar tracking technologies. Under GDPR, ePrivacy Directive, and similar laws, you need to tell users what cookies you use and get consent for non-essential ones. These templates help you stay compliant while not completely ruining the user experience.

Best Practices

1

Audit your site to know exactly what cookies you're setting before writing the policy

2

Categorize cookies by purpose so users can make informed choices

3

Don't set non-essential cookies until you have consent

4

Make it easy for users to change their preferences later

5

Keep the cookie banner concise but link to the full policy

Prompt Templates

1. Cookie Policy Generator

Create a cookie policy for a [WEBSITE_TYPE] that uses [COOKIE_TYPES].

Cookies in use:
[COOKIE_LIST]

Third-party services:
[THIRD_PARTY_COOKIES]

Target regions: [REGIONS]
Consent mechanism: [CONSENT_APPROACH]

Include a clear explanation of each cookie category and how users can manage preferences.
WEBSITE_TYPE: e-commerce site, COOKIE_TYPES: essential, analytics, marketing, COOKIE_LIST: session cookies for cart, login cookies, Google Analytics, Facebook Pixel, THIRD_PARTY_COOKIES: Google Analytics (analytics), Facebook Pixel (marketing), Stripe (payment - essential), REGIONS: EU and US visitors, CONSENT_APPROACH: cookie banner with accept/reject/customize options
COOKIE POLICY

Last Updated: [Date]

This Cookie Policy explains how [Company Name] uses cookies and similar technologies on [website URL].

WHAT ARE COOKIES?
Cookies are small text files stored on your device when you visit a website. They help the site remember your preferences and understand how you use the site.

HOW WE USE COOKIES

Essential Cookies (Always Active)
These cookies are necessary for the website to function. You can't opt out of them.

| Cookie | Purpose | Duration |
|--------|---------|----------|
| session_id | Keeps your shopping cart active | Session |
| auth_token | Keeps you logged in | 30 days |
| stripe_mid | Payment processing (Stripe) | 1 year |

Analytics Cookies (Require Consent)
These help us understand how visitors use our site.

| Cookie | Provider | Purpose | Duration |
|--------|----------|---------|----------|
| _ga | Google Analytics | Distinguishes users | 2 years |
| _gid | Google Analytics | Distinguishes users | 24 hours |

Marketing Cookies (Require Consent)
These track your activity to show relevant ads.

| Cookie | Provider | Purpose | Duration |
|--------|----------|---------|----------|
| _fbp | Facebook | Ad targeting | 90 days |
| fr | Facebook | Ad delivery | 90 days |

MANAGING YOUR PREFERENCES
When you first visit our site, you'll see a cookie banner where you can:
- Accept all cookies
- Reject non-essential cookies
- Customize your preferences by category

You can change your preferences anytime by clicking 'Cookie Settings' in our website footer...

When you need a complete cookie policy page for your website.

  • Use a tool to scan your site for cookies so you don't miss any
  • Update the policy whenever you add new tracking tools

2. Cookie Consent Banner Text

Write cookie consent banner copy for a [WEBSITE_TYPE] that needs to comply with [REGULATIONS].

Banner requirements:
- Must explain: [KEY_POINTS]
- Options to offer: [USER_OPTIONS]
- Link to: [LINKED_PAGES]

Tone: [TONE_PREFERENCE]
Space constraints: [LENGTH_LIMITS]
WEBSITE_TYPE: SaaS marketing site, REGULATIONS: GDPR and ePrivacy, KEY_POINTS: we use cookies, some are for analytics and marketing, user has choice, USER_OPTIONS: accept all, reject non-essential, customize by category, LINKED_PAGES: full cookie policy, privacy policy, TONE_PREFERENCE: friendly but clear, LENGTH_LIMITS: banner should be concise, not a wall of text
COOKIE BANNER - PRIMARY TEXT:

We use cookies to make our site work and to understand how you use it. Some cookies are optional.

[Accept All] [Reject Optional] [Customize]

---

COOKIE BANNER - EXPANDED VIEW (when user clicks Customize):

Choose which cookies you're okay with:

[Always On] Essential
Required for the site to work. Keeps you logged in and remembers your cart.

[ ] Analytics
Helps us understand how people use our site so we can improve it. We use Google Analytics.

[ ] Marketing
Lets us show you relevant ads on other sites. We use Facebook Pixel.

[Save Preferences]

Learn more in our [Cookie Policy] and [Privacy Policy].

---

FOOTER LINK TEXT:

[Cookie Settings] - appears in footer for users to change preferences later

---

IMPLEMENTATION NOTES:
- Don't set analytics or marketing cookies until user accepts
- Store consent choice with timestamp
- Make 'Reject Optional' as easy to click as 'Accept All'
- Remember user's choice for 12 months, then ask again

When you need concise, compliant text for your cookie consent banner.

  • Make reject and accept buttons equally prominent
  • Don't use dark patterns to push users toward accepting

3. Cookie Audit Documentation

Document the results of a cookie audit for [WEBSITE_NAME].

Audit scope:
- Pages scanned: [PAGES_SCANNED]
- Scan date: [SCAN_DATE]
- Tools used: [AUDIT_TOOLS]

For each cookie found, document:
- Name, domain, purpose
- Duration and type
- First or third party
- Category (essential, analytics, marketing, etc.)
- Legal basis for use
WEBSITE_NAME: example.com (corporate website with blog and contact forms), PAGES_SCANNED: homepage, about, blog, contact, pricing, SCAN_DATE: January 2024, AUDIT_TOOLS: browser developer tools, Cookiebot scanner
COOKIE AUDIT REPORT

Website: example.com
Audit Date: January 15, 2024
Auditor: [Name]
Tools: Chrome DevTools, Cookiebot Scanner

SUMMARY
- Total cookies found: 12
- Essential: 3
- Analytics: 4
- Marketing: 5
- Third-party services: 4 (Google, Facebook, HubSpot, YouTube)

DETAILED COOKIE INVENTORY

ESSENTIAL COOKIES

1. PHPSESSID
- Domain: example.com
- Type: First-party session cookie
- Duration: Session (deleted when browser closes)
- Purpose: Maintains user session for form submissions
- Legal basis: Legitimate interest (site functionality)

2. csrf_token
- Domain: example.com
- Type: First-party session cookie
- Duration: Session
- Purpose: Security token preventing cross-site request forgery
- Legal basis: Legitimate interest (security)

3. cookie_consent
- Domain: example.com
- Type: First-party persistent cookie
- Duration: 365 days
- Purpose: Stores user's cookie preferences
- Legal basis: Legitimate interest (compliance)

ANALYTICS COOKIES

4. _ga
- Domain:.example.com
- Type: Third-party (Google)
- Duration: 2 years
- Purpose: Google Analytics - distinguishes unique users
- Legal basis: Consent required

[...continues for all cookies...]

RECOMMENDATIONS
1. YouTube embeds set cookies before consent - implement facade/click-to-load
2. HubSpot tracking cookie duration exceeds stated purpose - review necessity
3. Update cookie policy to reflect accurate cookie list

When auditing your website to understand what cookies are actually being set, often done before updating your cookie policy.

  • Run audits in incognito mode to see what first-time visitors experience
  • Check cookies both before and after giving consent to verify your consent mechanism works

4. Third-Party Cookie Disclosure

Write disclosure text for third-party cookies from [SERVICE_NAME] used on [WEBSITE_TYPE].

Service details:
- What the service does: [SERVICE_PURPOSE]
- Cookies it sets: [COOKIE_DETAILS]
- Data shared: [DATA_SHARED]
- Their privacy policy: [PRIVACY_POLICY_URL]

This disclosure is for: [DISCLOSURE_LOCATION]
SERVICE_NAME: Google Analytics 4, WEBSITE_TYPE: business website, SERVICE_PURPOSE: website analytics and user behavior tracking, COOKIE_DETAILS: _ga (2 years), _ga_* (2 years), _gid (24 hours), DATA_SHARED: page views, session duration, device info, approximate location, PRIVACY_POLICY_URL: https://policies.google.com/privacy, DISCLOSURE_LOCATION: cookie policy page
GOOGLE ANALYTICS

We use Google Analytics 4 to understand how visitors interact with our website. This helps us improve our content and user experience.

Cookies Set by Google Analytics:

| Cookie | Purpose | Duration |
|--------|---------|----------|
| _ga | Identifies unique visitors | 2 years |
| _ga_[ID] | Maintains session state | 2 years |
| _gid | Identifies unique visitors | 24 hours |

Data Collected:
- Pages you visit and how long you stay
- How you arrived at our site (search, social, direct)
- Your general location (city level, not precise)
- Device type, browser, and operating system
- Interactions like clicks and scrolls

We have configured Google Analytics with the following privacy settings:
- IP anonymization is enabled
- Data sharing with Google is limited
- Advertising features are disabled

Google processes this data on servers that may be located outside your country. Google's privacy policy explains how they handle data: https://policies.google.com/privacy

You can opt out of Google Analytics by:
- Declining analytics cookies in our cookie banner
- Installing the Google Analytics Opt-out Browser Add-on
- Adjusting your cookie preferences in the footer of any page

When you need to explain a specific third-party service's cookies in your cookie policy.

  • Check the service's documentation for accurate cookie information
  • Note any privacy-improving configurations you've enabled

Common Mistakes to Avoid

Setting analytics and marketing cookies before getting consent

Making the 'Accept' button more prominent than 'Reject' which regulators consider a dark pattern

Not actually blocking cookies when users reject them, just pretending to

Frequently Asked Questions

Cookie policy prompts help you create the disclosures and consent mechanisms required when your website uses cookies and similar tracking technologies. Under GDPR, ePrivacy Directive, and similar laws, you need to tell users what cookies you use and get consent for non-essential ones. These templates help you stay compliant while not completely ruining the user experience.

Related Templates

Have your own prompt to optimize?