PHPackages                             chibko/contao-tarteaucitron - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. chibko/contao-tarteaucitron

ActiveContao-bundle[Security](/categories/security)

chibko/contao-tarteaucitron
===========================

Add tarteaucitron.js to Contao. Cookies consent

4.9.7(6y ago)01281[1 issues](https://github.com/chibko/contao-tarteaucitron/issues)LGPL-3.0-or-laterPHPPHP ^7.1

Since Sep 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/chibko/contao-tarteaucitron)[ Packagist](https://packagist.org/packages/chibko/contao-tarteaucitron)[ Docs](https://chibko.com/)[ RSS](/packages/chibko-contao-tarteaucitron/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (21)Used By (0)

tarteaucitron.js for Contao 4
=============================

[](#tarteaucitronjs-for-contao-4)

Add the tarteaucitron.js script to Contao 4

What is this script?
====================

[](#what-is-this-script)

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,
- Activate services on the second page view if not denied,
- 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).

More info : [Visit opt-out.ferank.eu](https://opt-out.ferank.eu/)

How to use
==========

[](#how-to-use)

This bundle add options to configure the script on every root page.

- You have a checkbox to enable the script and you must choose at least one service.
- You have to modify the template(s) for the service(s) : Add your Google Analytics ID for example
- Do not add a analytics template in your page layout.
- You can remove tarteaucitron.js for specific page if needed in the page settings.

Exemple : If you choose the Google Analytics (gtag.js), you need to modifiy the gtag.html5 template with your Google Analytics Id.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Recently: every ~23 days

Total

20

Last Release

2214d ago

Major Versions

1.0.11 → 4.9.12019-11-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/28563c8c0bc73930db718242af26a31226c74c763d50ce7e772ddbeecda3e20d?d=identicon)[schibko](/maintainers/schibko)

---

Top Contributors

[![chibko64](https://avatars.githubusercontent.com/u/178407426?v=4)](https://github.com/chibko64 "chibko64 (73 commits)")

---

Tags

contaotarteaucitron

### Embed Badge

![Health badge](/badges/chibko-contao-tarteaucitron/health.svg)

```
[![Health](https://phpackages.com/badges/chibko-contao-tarteaucitron/health.svg)](https://phpackages.com/packages/chibko-contao-tarteaucitron)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

41668.4k163](/packages/codefog-contao-haste)[contao-community-alliance/dc-general

Universal data container for Contao

1579.5k90](/packages/contao-community-alliance-dc-general)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3187.0k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3075.6k5](/packages/terminal42-contao-node)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18153.4k10](/packages/terminal42-contao-folderpage)[terminal42/dcawizard

dcaWizard extension for Contao Open Source CMS

10382.4k17](/packages/terminal42-dcawizard)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
