🍪 Free tool · no sign-up
Cookie notice generator for any website
Design a cookie banner, preview it, and copy one snippet into your site. It remembers each visitor’s choice and holds your analytics back until they accept.
- One copy-and-paste snippet
- Analytics wait for consent
- No account, no tracking of ours
How to use it
A cookie banner in three steps
- Write the message
What you use cookies for, and a link to your privacy or cookie policy.
- Style it
A box in a corner or a bar along the bottom, in your colours.
- Paste the code
Put it before the closing body tag, and move your analytics into the function it gives you.
Consent basics
What a cookie notice should do
Rules differ by country, but a good notice does the same few things everywhere.
Tell visitors you use cookies, what for, and link to the policy with the details.
Give an equally easy way to say no to anything that is not essential.
Analytics and ad cookies should only load after someone accepts. The snippet’s hook does that.
A “Cookie settings” link in your footer brings the notice back so people can change their mind.
Questions
Cookie notice questions
Do I need a cookie banner?
If you have visitors from the EU or UK and use non-essential cookies, like analytics or ads, yes. Many US states also require clear notice and an easy opt-out.
How do I make analytics wait for consent?
Move your analytics code into the onCookieConsent function in the snippet. It runs only after a visitor presses Accept, and on later visits if they did.
Where do I paste the code?
Just before the closing body tag on every page, or in your site builder’s footer code box.
How can visitors change their choice?
Add a link to #cookie-settings anywhere, such as your footer. Clicking it shows the notice again.
Is this legal advice?
No. It gives you a sensible, consent-first banner. Check the rules for the places your visitors come from.
Keep going
Round out your site’s legal pages
The banner links to a policy. Write that too.
Start free
A site that’s ready
Linxi websites have the cookie notice, privacy pages and consent-aware analytics built in.
