
tarteaucitron.js
Open-source JavaScript cookie consent banner that blocks third-party services until the visitor consents.
tarteaucitron.iorepositorydocs
tarteaucitron.js is an open-source JavaScript cookie consent library. It shows a consent banner, and it keeps configured third-party services blocked until the visitor agrees. A site adds the library folder and a script tag, then calls an init function with its options. The library is published on GitHub and npm under the MIT license.
The author also sells a managed service, tarteaucitron.io Pro, with automatic detection of supported services, an online configuration dashboard and consent statistics.
Worth knowing
Initializing the banner alone does not block scripts that the site already loads elsewhere, and using the library does not by itself make a website comply with the GDPR. The README states both points.
Identity
- Status
- Active
- Maintainer
- Amauri Champeaux4
- Maintained by
- Individual
- First release
- 20187
- Headquarters
- France4
Rendering and deploy
- Install with
- download from GitHub, placed in the site's root folder3
Releases
Adoption
Sources
- 2026-11-03: links
tarteaucitron.io/ - 2026-11-03: links, Written in, License, GitHub stars
api.github.com/repos/AmauriC/tarteaucitron.js - 2026-11-03: links, Install with
tarteaucitron.io/en/free-installation-open-source/ - 2026-11-03: Maintainer, Headquarters
tarteaucitron.io/mentions-legales/ - 2026-11-03: Categories, License model
github.com/AmauriC/tarteaucitron.js/blob/master/README.md - 2026-11-03: License
github.com/AmauriC/tarteaucitron.js/blob/master/LICENSE - 2026-11-03: First release, Current major version, Last release
api.github.com/repos/AmauriC/tarteaucitron.js/releases - 2026-11-03: npm downloads a week
api.npmjs.org/downloads/range/2026-10-26:2026-11-01/tarteaucitronjs - 2026-11-03: Contributors
api.github.com/repos/AmauriC/tarteaucitron.js/contributors