Cookies EU banner

Minimized & gzipped size ~1kb Downloads MIT Licence

Screenshot

See demonstration page

Supporting Cookies EU banner

Cookies EU banner is an MIT-licensed open source project and completely free to use. You can support its ongoing development by being a backer or a sponsor: - [Become a backer or sponsor on Patreon](https://www.patreon.com/alexandredemode) - [One-time donation via PayPal](https://www.paypal.me/demodealexandre/20eur) --- ## Introduction Cookies EU banner manage display of a banner which allows user to accept or reject cookies from tracking services like Google Analytics. It is a GDPR-compliant way to get cookie consent from visitors. - [Try Cookies EU banner demo in action](https://alex-d.github.io/Cookies-EU-banner/demo) - [Go to presentation website](https://alex-d.github.io/Cookies-EU-banner/) ### Features - Do Not Track detection, using `navigator.doNotTrack` - Disables banner when the visitor is a bot: prevents SEO Engines from confusing your cookie advert message with the main content of your pages - Respects GDPR - Fully typed, since it's written in TypeScript - [Offers a headless version](#advanced-headless) ## How to use? ### 1. Add the template Insert the banner at the end of the `` element, using a `