# AmauriC/tarteaucitron.js

Get a compliant and accessible cookie banner

Repository: https://github.com/AmauriC/tarteaucitron.js
Canonical: https://ross.abutalabs.com/products/tarteaucitronjs
Homepage: https://tarteaucitron.io/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-07-03T08:37:39+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 91, longevity 100
- inputs: {"age_days": 4371, "days_push": 61, "days_rel": 61, "gap_med": 27.0, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1052, forks 374 (observed 2026-08-28T04:03:23.287574+00:00)

## What it is
tarteaucitron.js is an open-source, accessible GDPR consent management platform (CMP) that displays a cookie banner and per-service consent panel on websites. It blocks third-party services by default, stores consent for 365 days, and supports 220+ services including Google Consent Mode v2.

## Use cases
- add a GDPR-compliant cookie consent banner to my website
- block third-party scripts until users give consent
- make my site accessible and cookie-law compliant
- manage consent for Google Analytics and Ads with Consent Mode v2
- let visitors accept or deny each tracking service individually
- store user cookie consent preferences
- add a free open-source CMP to WordPress or a custom site

## When to choose
- you need a free, self-hosted, accessible consent banner without IAB TCF requirements
- you want per-service granular consent controls and fallbacks for blocked services
- you need Google Consent Mode v2 signals for GA4 or Google Ads
- you use a CMS like WordPress, Drupal, or Joomla and want a simple script tag integration

## When to avoid
- you need IAB TCF compatibility for programmatic advertising or AdSense monetization
- you want a hosted console with consent statistics and no-code configuration (that requires the paid tarteaucitron.io service)
- you need a server-side consent management solution

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, middleware, security, privacy
- domain: web-development, frontend, privacy, legal
- platform: browser
- tags: cookie-consent, gdpr, cmp, consent-management, accessibility, javascript, nodejs, web-server

## Member repositories
- AmauriC/tarteaucitron.js (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:23.287574+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:59:40.049224+00:00, confidence not recorded.
  - readme: https://github.com/AmauriC/tarteaucitron.js (fetched 2026-08-28T04:03:23.287574+00:00, sha da2d2b5c4c99)
  - homepage: https://tarteaucitron.io/ (fetched 2026-08-29T13:01:08.478066+00:00, sha fc1abf34ae74)
  - site_page: https://tarteaucitron.io/installation-gratuite-open-source (fetched 2026-08-29T13:01:08.488155+00:00, sha 7afae98c4910)
  - site_page: https://tarteaucitron.io/aide (fetched 2026-08-29T13:01:08.493922+00:00, sha c1e14ae062f5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
