Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

tacjs

1,633 sites Security covered
View on drupal.org

Comply to the European cookie law using tarteaucitron.js.

Features

  • Manage dialog: Cookie name, Banner position, Accept All button, ...
  • Add services: Youtube, Google Analytics, Google Tag Manager, ...
  • Edit texts: Hello! This site is transparent and lets you choose the 3rd party services you want to allow
  • Get records: IP address and the services together with a timestamp.

DONATE TO OUR COLLECTIVE

What is tarteaucitron.js?

tarteaucitron was initially a simple script for Amauri personal blog (in 2013), a few months later, the Github repository is opened and tarteaucitron is now reliable and recognized.

The european cookie law regulates the management of cookies and you should ask your visitors their consent before exposing them to third party services.

Clearly this script will:

  • Disable all services by default,
  • Display a banner on the first page view and a small one on other pages,
  • Display a panel to allow or deny each services one by one,
  • Store the consent in a cookie for 365 days.

Bonus:

  • Load service when user click on Allow (without reload of the page),
  • Incorporate a fallback system (display a link instead of social button and a static banner instead of advertising).

Version 7.x

  • Breaking change: starting with version 7.x the tarteaucitron library has been removed from the module and must now be installed manually. Check below for details.

Extensions

TacJS can be easily extended using hooks.

Here is a list of external modules allowing better integration of third-party modules with TacJS.

Installation

Version 7.x

The tarteaucitron javascript library have been moved out of the module and must be installed manually.

  • You can download the library here and unzip its content in the web/libraries/tarteaucitronjs folder of your Drupal installation.
    The module expects the libraries files to be available in this exact location.
  • Or you can install it with composer using the following command: composer require npm-asset/tarteaucitronjs:1.21.0.

Resources

Credits

Currently maintained by people at Fullwave and people at Bordeaux Metropole.
All initial development was made by asmaa khalfi (asmaakhalfi).

Activity

Total releases
13
First release
Mar 2025
Latest release
8 months ago
Release cadence
11 days
Stability
23% stable

Release Timeline

Releases

Version Type Release date
7.0.1 Stable Jul 29, 2025
7.0.0 Stable Jul 1, 2025
7.0.0-rc3 Pre-release Jun 20, 2025
7.0.0-rc2 Pre-release Apr 22, 2025
7.0.0-rc1 Pre-release Apr 8, 2025
8.x-6.7 Stable Apr 2, 2025
7.0.0-beta5 Pre-release Apr 1, 2025
7.0.0-beta4 Pre-release Mar 31, 2025
7.0.0-beta3 Pre-release Mar 30, 2025
7.0.0-beta2 Pre-release Mar 29, 2025
7.0.0-beta1 Pre-release Mar 26, 2025
7.0.0-alpha2 Pre-release Mar 20, 2025
7.0.0-alpha1 Pre-release Mar 19, 2025