EN
My tools

Cookie Policy Generator

Draft a cookie policy with a table of the cookies your site sets (Google Analytics, AdSense, Meta Pixel, Hotjar, YouTube), consent and opt-out sections. Not legal advice.

Output
Cookie policy
Cookies listed
3
Sections
7
Categories used
Strictly necessary, Statistics

This is a template, not legal advice. Fill in every [bracket], check the table against a cookie scan of your own site, and have it reviewed by a qualified person. Publishing a policy does not by itself make a site compliant.

Cookie names and durations are the ones the providers published when this tool was updated (2026). Providers change them, so re-check after any change to your site.

Cookie table
NameProviderCategoryPurposeDuration
cookie_consentExample Shop (local storage)Strictly necessaryRemembers which cookie categories you accepted or rejected180 days
_gaGoogle AnalyticsStatisticsDistinguishes visitors so visits can be counted2 years
_ga_<container-id>Google AnalyticsStatisticsKeeps the state of your current session2 years
My tools →
Advertisement

A cookie policy tells visitors which cookies your site sets, why, for how long and how to refuse them. This generator drafts one from the services you tick — Google Analytics 4, AdSense, Google Ads, the Meta Pixel, Hotjar and YouTube embeds — filling a table with the cookie names, providers, categories and lifetimes those providers publish, and adds consent, opt-out and optional California sections. It is a starting point to adapt, not legal advice.

How to use this tool

  1. Enter the site name, address, owner and contact email.
  2. Say how visitors give consent: your own banner, a consent platform, or no banner if you only use necessary cookies.
  3. Tick each service the site loads and add any other cookies, one per line.
  4. Copy the Markdown or HTML, fill in the [brackets] and compare the table with a real cookie scan.

Formula

Sections: 1 What cookies are · 2 How we use cookies · 3 Cookies we use (table) · 4 Your consent · 5 Managing cookies · 6 California (optional) · Changes · Contact.

Each ticked service adds its rows: Google Analytics 4 adds _ga and _ga_<container-id> (2 years each); AdSense adds __gads and __gpi (13 months), __eoi (6 months, ad security) and IDE on doubleclick.net (13 months in the EEA, UK and Switzerland, 24 months elsewhere), as listed on Google’s own cookie pages.

Example

With the defaults — your own banner and Google Analytics — the table lists 3 cookies: the consent record and the two GA4 cookies, and the policy has 7 sections. Ticking every service and the California section gives 16 cookies in 8 sections.

Frequently asked questions

Does a cookie policy make my site GDPR compliant?

No. In the EEA and the UK the law requires prior, freely given consent before non-essential cookies are set, so the banner and the site’s code must actually block them until the visitor agrees. The policy only describes what happens.

Can I use this banner setting with Google AdSense?

For visitors in the EEA, the UK and Switzerland Google requires a Google-certified consent management platform that supports the IAB Transparency and Consent Framework. Choose the CMP option and use the cookie list your CMP provides.

Why might the durations differ from what my browser shows?

Providers revise their cookies, and many refresh the expiry on each visit. Run a cookie scan of your own site and correct the table if it differs.

Sources

This result is an estimate for general information only, not financial, tax, legal or medical advice. Rules and rates change and your circumstances may differ, so confirm with the official source or a qualified professional before you rely on it. You use the result at your own risk. How we check our calculators · Full disclaimer

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Cookie Policy Generator. https://kakao.mobile/tools/cookie-policy-generator/

MLA

“Cookie Policy Generator.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/cookie-policy-generator/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement