Small business

Cookie Policy for a Website: What to Write, Where to Put It and a Sample Table

Most cookie policy guides end in a generator. This one shows what the page needs to say, how a real organisation lays it out, the one question people argue about (list every cookie or only the categories), and a short routine for keeping the page true as your site changes.

Cookie Policy for a Website: What to Write, Where to Put It and a Sample Table

Key takeaways

  • A cookie policy is a page that explains the cookies and trackers on your site. It says which ones, who sets them, what for, how long they last and how a visitor can change their mind.
  • It is not the banner and not the privacy policy. The banner asks for consent, the cookie policy gives the detail behind it, and the privacy policy covers all personal data. Many sites put the cookie policy inside the privacy policy as a section, which is fine if visitors can find it.
  • List by category or by cookie, but be accurate. Iubenda says the EU rules do not specifically require every cookie to be listed one by one, while the European Commission's own page lists them in tables. Either works if it is true.
  • Even cookies that need no consent still need to be described. Iubenda says this applies where an exemption covers the cookie.
  • The work is keeping it current. A policy that lists last year's tools is worse than a short one that matches what your site does today.

This is general information, not legal advice. The rules depend on where your visitors are, so check the guidance for your country.

The short answer

A cookie policy for a website explains what cookies and similar trackers your site uses, grouped by purpose, with who sets them, what for and how long they last. It tells visitors how to accept, refuse or change their choice, and how to delete cookies in their browser. Put it on its own page or as a section of your privacy policy, link it from the footer and from the cookie banner, and check it every time you add a tool such as analytics, a chat widget or an embedded video.

About us: Amariq designs and builds websites. The wording is yours or your lawyer's; this guide covers the structure and the upkeep.

What the search results show, and the gap

We searched Google (US, English) for "cookie policy for website" on 23 November 2026. Google's AI summary gave a five-part outline and named Iubenda, Cookiebot and the European Commission. The results included Iubenda's template page, Cookiebot's guide (December 2021 in the snippet), Osano (July 2025), TermsFeed (March 2016), Automattic's and ISO's own cookie policies, a generator site and the FTC's page on internet cookies. We read the Iubenda guide and the European Commission's page in full, and the others as search snippets.

The pages by software sellers say what a policy should contain and end by offering a generator. The one real example in the results, the European Commission's, is long because it covers hundreds of services. What is missing is a plain account for a small site owner: what a finished page looks like on your scale, whether to list every cookie, and how to keep the list accurate. That is what the rest of this guide does.

Cookie bannerCookie policyPrivacy policy
JobAsk for consent before non-essential cookies runDescribe the cookies and trackers in detailDescribe all personal data you handle
WhereOn the first visit, with a way to reopen itA page or a section, linked from the footer and the bannerA page linked from the footer and from forms
Changes whenYou change consent toolsYou add or remove a tool or cookieYou change what data you collect

Iubenda's guide (updated 31 March 2026) describes the sequence for EU visitors this way: show a banner on the first visit, have a cookie policy, and obtain consent before cookies are stored, apart from exempt cookies. For how to build a fair banner, see our guide to GDPR cookie consent, and for the wider page, privacy policy for a website.

What the page must say

Iubenda's guide says a cookie policy must:

  1. Indicate the type of cookies, first-party or third-party.
  2. Name every third party that installs, manages or accesses cookies through your site, with a link to their policy and any opt-out form.
  3. Describe the purposes in detail.
  4. Be available in every language the service is provided in.

Iubenda is a company that sells cookie tools, so treat this as one vendor's reading of the EU rules and check it against your regulator's guidance. The same guide quotes the UK Information Commissioner's Office: a broader explanation of the categories of cookies used, with a description of what analytics cookies are for, is more likely to satisfy the requirement than a bare list of cookie names.

Google's AI summary gave a practical outline that fits this: a definition and categories (strictly necessary, preferences, analytics, marketing), the specific cookies and their purposes, duration and third parties, how to accept, reject or change, and a note that the policy is updated.

One real example: the European Commission

The European Commission's cookies policy page (read 23 November 2026) is a useful model for structure, even though a small site is far simpler. It has four headings: what cookies are, how the Commission uses them, third-party cookies, and how to manage cookies. Under "how we use them" it groups cookies into visitor preferences, operational cookies (authentication and technical) and analytics cookies, and says which need consent: it states that operational cookies "do not require your consent", and that analytics cookies can be refused in the banner or on a separate analytics page.

Each group has a table with four columns: name, service, purpose, and cookie type and duration. A row reads like this: a cookie named _pk_id#, from the corporate web analytics service, which recognises visitors anonymously, as a first-party persistent cookie lasting 13 months. The page ends with a list of third-party providers (YouTube, Google Maps and others), a note that those providers' own policies apply, and plain instructions for deleting, managing and blocking cookies in the browser.

This is where guides disagree. Two things from the sources:

  • Iubenda says the EU directive does not specifically require listing cookies one by one, but does require clearly stating their type and purpose and, for third-party cookies, naming the third party and linking to its policy.
  • The European Commission lists them, in tables with durations.

For a small site, a short table of the cookies you actually find is often easier to keep honest than a long explanation, because it is checked against reality. A category-only policy is shorter but vague. If your site has a handful of cookies, list them. If you have dozens from many tools, group them by category and name the providers.

A sample table for a small site

The table below is a layout, not a finished policy. The two Google rows use Google's own help page for GA4 cookie usage (read 23 November 2026), which gives default lifetimes of two years. Replace the bracketed row with your own consent tool's cookie and set the duration it uses.

NameSet byPurposeCategoryDuration
_gaGoogle Analytics 4, first partyUsed to distinguish usersAnalytics2 years by default
_ga_Google Analytics 4, first partyUsed to persist session stateAnalytics2 years by default
[your consent cookie][your banner tool]Remembers your cookie choiceStrictly necessary[set by your tool]

Google's page adds that browsers limit the lifespan of first-party cookies when a user does not return: up to 400 days in Chrome and 7 days in Safari. So the real life of a cookie can be shorter than the default. If Google Ads is linked to your analytics, Google's page says additional cookies are set, so check for them.

Find your own cookies in 15 minutes

  1. Open your site in a private window so you start with no cookies, and open your browser's developer tools. In Chrome, the Application tab lists cookies and local storage for the site.
  2. Load the home page and one inner page before you click anything on the banner. Note what is already set.
  3. Accept all, then reload. Note what was added.
  4. Reject all, then reload. Note what remains. This tells you what runs without consent.
  5. Open a page with a form, a map or a video and repeat, because embeds often set their own.
  6. Look up each unfamiliar name on the maker's own page, as we did for Google above, and write down its purpose and duration.
  7. Check storage too. Iubenda says the cookie rules cover any technology that stores or accesses information on a device, and the European Commission's tables list local storage keys beside cookies, so record local and session storage as well.
  8. Write the table. One row per cookie or per group, with the provider named.

Link the policy from the footer of every page and from the banner. Iubenda's guide adds that where only exempt cookies are used, a banner is not necessarily required if the cookie policy is easily accessible and visible from every page, though it says a site using only exempt cookies is "highly unlikely". Put a "last updated" date at the top and, if the banner has a settings link, repeat it on the page so visitors can change their choice.

Keeping it true

A cookie policy goes out of date when your site changes, not when the calendar does. Re-run the fifteen minute check:

  • after you add or remove a tool (analytics, chat, ad pixel, video embed, booking widget),
  • after a platform or theme update that adds scripts,
  • every six months otherwise.

If a new non-exempt tool appears, the banner will need to ask again. Iubenda's guide says fresh consent is needed when you start using a new non-exempt third-party cookie, because earlier consent covered only the third parties declared at the time.

Template, generator or lawyer?

A free template is a reasonable start for a small site, and a generator can scan your site and fill the table. Both give you a first draft, and the check above tells you whether the draft is true. For a site with customers in several countries, children's data, health or finance, have a lawyer in your country read it. Do not copy another site's policy: its cookies are not yours.

How Amariq can help

We can build the site, place the banner, link the policy from the footer and the banner, and give you a list of the scripts on the finished site so the table is easy to write. Projects are priced from scope, never by the hour, and paid 40% to start, 30% at design approval and 30% before launch. Once the final payment is made, the design, copy and code belong to you, and the domain, hosting and analytics accounts sit in your name. See our web design service or book a call.

Frequently asked questions

A page that explains which cookies and similar trackers a website uses, who sets them, what for, how long they last and how a visitor can manage them. It can stand alone or sit inside the privacy policy.

If your site uses cookies or similar trackers and has visitors where cookie rules apply, such as the EU and the UK, yes. Iubenda's guide says this applies even when an exemption covers the cookie. Check your own country's rules.

The cookie policy covers cookies and trackers in detail. The privacy policy covers all personal data you collect, why, and what rights people have. A cookie policy often sits inside the privacy policy as a section.

No. The banner asks for consent when someone arrives. The policy is the page that gives the detail and stays available.

Iubenda says the EU directive does not specifically require it, but you do have to state type and purpose and name third parties with links. The European Commission lists theirs in tables. Choose the level you can keep accurate.

How often should I update it?

Whenever you add or remove a tool that sets cookies, after updates that add scripts, and about every six months to check. Put a last updated date on the page.

Google Analytics 4 sets the _ga and _ga_ cookies, according to Google's help page, so yes, if your visitors are covered by cookie rules you should describe them and ask for consent where required.

Rahat Khondokar, founder of Amariq

Rahat Khondokar

Founder & CEO, Amariq

Rahat designs and builds websites for marketing teams and ecommerce brands, and writes here about the structure, copy and conversion work behind them. More about Amariq. Find him on YouTube, Dribbble and LinkedIn.

Keep reading

Related articles.

All articles