What is a cookie policy template?
What must a compliant cookie policy include?
Section | What the cookie policy should include |
Cookie definition | A clear explanation of what cookies are and how they work |
Purpose | Specific reasons why cookies are used (e.g. analytics, security, advertising) |
Cookie categories | Necessary (strictly necessary), functional, analytics, marketing |
Cookie list | Cookie name, provider, purpose, and expiry duration |
Third-party cookies | Identification of external providers that place cookies |
Similar technologies | Disclosure of pixels, tags, web beacons, SDKs, and trackers |
Cookie controls | How users manage, refuse, or withdraw consent |
Last updated date | The most recent revision date of the policy |
Prefer to generate yours automatically? Use our cookie policy generator
Free cookie policy template (copy and customise)
You can copy the cookie policy template below and customise it for your website.
Important: A cookie policy template provides structure. It does not automatically detect cookies. Before publishing your cookie list, run a cookie audit using a cookie scanner. Many consent management platforms (CMPs), including CookieYes, include cookie scanning and cookie categorisation.
Cookie policy template
Effective date: [Insert Date]
Last updated: [Insert Date]
This Cookie Policy explains how [Company Name] (“we”, “us”, or “our”) uses cookies and similar tracking technologies on [Website URL].
1. What are cookies?
Cookies are small text files stored on a user’s device when the user visits a website. Cookies help websites work correctly and can collect information about website usage.
Cookies may be:
- First-party cookies, set by your website
- Third-party cookies, set by external service providers
Websites may also use similar technologies such as web beacons, pixel tags, tags, and scripts.
2. Why does this website use cookies?
This website uses cookies to:
- Enable essential website functionality
- Maintain user sessions
- Analyse traffic and performance
- Deliver advertising and personalised content
Cookies may collect identifiers such as IP address, device identifiers, browser type, and referral source.
3. Cookie categories
This website uses the following cookie categories:
Necessary cookies (strictly necessary cookies)
Required for website functionality and security.
Functional cookies
Remember user preferences.
Analytics cookies
Measure user behaviour and website performance (for example, Google Analytics).
Marketing cookies
Support targeted advertising (for example, Meta Pixel).
4. Cookie list
(Your cookie policy should include a detailed cookie list. For example:
Replace this example table with the cookies identified during your cookie audit)
5. Cookie duration (session cookies vs persistent cookies)
Cookie duration explains how long a cookie remains active.
- Session cookies expire when the user closes the browser.
- Persistent cookies remain active for a defined period.
(Expiry duration should be disclosed because it affects how long tracking continues)
6. Third-party cookies and tracking technologies
Third-party providers such as Google, Meta, Microsoft, payment processors, and embedded video platforms may place cookies on your website. These providers process data under their own privacy policies.
7. How users can manage cookies
Users should be able to:
- Accept or reject cookie categories
- Modify preferences
- Withdraw consent
Many websites offer these controls through a cookie banner and a cookie preference centre.
(CookieYes, for example, supports consent withdrawal through a Revisit consent widget.)
8. Updates to this cookie policy
[Company Name] may update this Cookie Policy to reflect changes in technology, cookies used, or legal requirements.
(The “Last updated” date reflects the most recent revision)
Why cookie policies need a cookie audit (not just a template)
How to generate a cookie policy for my website?
Step 1. Audit the cookies on your website
Step 2. Categorise cookies clearly
CookieYes automatically categorises cookies after scanning the website
Step 3: Explain how cookies are used (in plain language)
Step 4: Provide a detailed cookie list
Cookie | Provider | Purpose | Category | Expiry |
_ga | Distinguishes users | Analytics | 2 years | |
_fbp | Meta | Advertising tracking | Marketing | 3 months |
Step 5: Add consent withdrawal controls
CookieYes includes a Revisit consent widget, which allows users to reopen the consent banner and modify preferences at any time.

Step 6: Publish and keep it updated
Where should you display a cookie policy?
Recommended cookie policy placement
Platform | Recommended placement |
Website | Footer link visible on all pages |
Cookie banner | Link in first layer or within preferences panel |
Cookie preference centre | Link inside settings interface |
Mobile app | Menu → About or Legal section |

Cookie Policy linked in the website footer, along with the privacy policy.

A cookie banner with a linked cookie policy.
GDPR cookie policy requirements (EU and UK)
GDPR cookie consent requirement
What a GDPR-compliant cookie policy should disclose
CCPA/CPRA cookie disclosure requirements (United States)
CPRA update: “Do Not Sell or Share”
What a CCPA cookie policy should include
Legal requirements by jurisdiction (quick reference)
Region | Key law | Cookie disclosure required | Consent model |
EU | GDPR + ePrivacy Directive | Yes | Opt-in for non-essential cookies |
UK | UK GDPR + PECR | Yes | Opt-in for non-essential cookies |
California (+ many other US state laws) | CCPA/CPRA | Yes | Opt-out where sale/sharing applies |
Do you need a separate cookie policy and privacy policy?
Cookie policy vs cookie banner vs privacy policy
Document | What it does | Where users see it |
Cookie policy | Provides full disclosure of cookies and tracking technologies | Dedicated cookie policy page |
Cookie banner (cookie notice) | Collects consent and provides cookie choices | Displayed on first visit |
Privacy policy | Explains all personal data processing activities | Linked in website footer |
More on cookie notice vs cookie policy
Common cookie policy mistakes (and how to avoid them)
Cookie policy template examples









