PHPackages                             friends-of-contao/contao-privacy - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. friends-of-contao/contao-privacy

ActiveContao-bundle[Authentication &amp; Authorization](/categories/authentication)

friends-of-contao/contao-privacy
================================

Contao bundle that adds a privacy policy consent checkbox to the registration

3.5.x-dev(7y ago)242.2k5[13 issues](https://github.com/friends-of-contao/contao-privacy/issues)[2 PRs](https://github.com/friends-of-contao/contao-privacy/pulls)LGPL-3.0-or-laterPHPPHP ^5.6 || ^7.0

Since May 14Pushed 7y ago17 watchersCompare

[ Source](https://github.com/friends-of-contao/contao-privacy)[ Packagist](https://packagist.org/packages/friends-of-contao/contao-privacy)[ RSS](/packages/friends-of-contao-contao-privacy/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (2)Versions (14)Used By (0)

Contao Privacy
==============

[](#contao-privacy)

About
-----

[](#about)

This extension provides some privacy features to Contao 3.5.x and 4.4.x (4.5.x). If you have some ideas which we should add or change in the mentioned Contao versions, feel free to create an [issue](https://github.com/friends-of-contao/contao-privacy/issues).

We would be pleased, if you could help us with ideas, code snippets or maybe with a small sum of money (&gt; 50 € net). You also can join the project for active working on the features. Please send us an [email](mailto:nick@hofff.com) if you want to help us.

Integrations
------------

[](#integrations)

### New registration module (GDPR)

[](#new-registration-module-gdpr)

Adds a privacy policy consent registration module with checkbox and individual legend and label text. *Please Note: You'll need to check the checkbox at editble fields additionally otherwise the text is not visible at the module in the front end.*

[![](docs/checkbox-registration.png)](docs/checkbox-registration.png) [![](docs/checkbox-registration_fe.png)](docs/checkbox-registration_fe.png)

### Hook

[](#hook)

The `addPrivacyWidget` hook is executed when a user opens the privacy overview page in backend. Extension developers can simply add informations to the overview page.

```
// config.php
$GLOBALS['TL_HOOKS']['addPrivacyWidget'][] = array('MyClass', 'myAddPrivacyWidget');

// MyClass.php
public function myAddPrivacyWidget($arrWidgets)
{
    // Any Code
}

```

Example data for widget

```
    $arrWidgets[] = array(
        'title' => 'friends-of-contao/contao-privacy',
        'content' => 'Es werden keine datenschutzrelevanten Informationen erhoben.',
        'class' => 'green icon'
    );

```

You can use green, red, orange and gray in widget class for highlighting.

### Video Splash Image for YouTube and Vimeo

[](#video-splash-image-for-youtube-and-vimeo)

We added an option for YouTube and Vimeo to add a splash image before loading the video.

[![](docs/video-2click.png)](docs/video-2click.png)

### Analytics opt-out

[](#analytics-opt-out)

Provides an "opt-out" button via a front end module. This button simply sets (or removes) an `analyticsOptOut` cookie, which you can then use in your `analytics_*` templates (or anywhere else) like this for example:

```

```

Optionally this module also allows you to remove all cookies for this domain, with the exception of some pre-defined cookies like the session cookie (if active) or a custom list of cookies to keep.

### YouTube no-cookie

[](#youtube-no-cookie)

Added a checkbox to the YouTube module to switch between standard and no-cookie embedment variant.

Copyright
---------

[](#copyright)

This project has been created and is maintained by [friends-of-contao](https://github.com/friends-of-contao)

Thank you
---------

[](#thank-you)

[christianbarkowsky](https://github.com/christianbarkowsky) - [BRKWSKY](https://brkwsky.de) - donating code and ideas

[fritzmg](https://github.com/fritzmg) - [Wiesmüller &amp; Gschwantner OG](https://www.inspiredminds.at) - donating code and ideas

[MDevster](https://github.com/MDevster) - [pdir GmbH](https://pdir.de) - donating code and ideas

[davidmaack](https://github.com/davidmaack) - [MEN AT WORK Werbeagentur GmbH](https://www.men-at-work.de) - donating code and ideas

[leofeyer](https://github.com/leofeyer) - [Feyer Media GmbH &amp; Co. KG](https://hostingwerk.de) - donating code and ideas

[frontendschlampe](https://github.com/frontendschlampe) - [hofff.com](https://www.hofff.com) - donating ideas and management tasks

[Pellinger](https://github.com/Pellinger) - [twobox.com](http://www.twobox.com) - donating 50 € net

anonym - donating 100 € net

Manuel Mederer - [VILINGO](https://vilingo.com) - donating 50 € net

Julia Hauser - [Jumedia Webagentur GmbH](https://www.jumedia.ch) - donating 100 € net

If you want to extend the list, feel free to send us an [email](mailto:nick@hofff.com).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance9

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~48 days

Recently: every ~83 days

Total

8

Last Release

2628d ago

Major Versions

1.0.0-beta1 → 2.0.0-beta72019-02-20

2.0.0-beta7 → 3.5.x-dev2019-04-24

PHP version history (2 changes)2.0.0-beta2PHP ^7.0

1.0.0-beta1PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1232819?v=4)[Nicky Hoff](/maintainers/frontendschlampe)[@frontendschlampe](https://github.com/frontendschlampe)

---

Top Contributors

[![christianbarkowsky](https://avatars.githubusercontent.com/u/1230547?v=4)](https://github.com/christianbarkowsky "christianbarkowsky (25 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (10 commits)")[![frontendschlampe](https://avatars.githubusercontent.com/u/1232819?v=4)](https://github.com/frontendschlampe "frontendschlampe (10 commits)")[![MDevster](https://avatars.githubusercontent.com/u/10244240?v=4)](https://github.com/MDevster "MDevster (8 commits)")[![davidmaack](https://avatars.githubusercontent.com/u/988290?v=4)](https://github.com/davidmaack "davidmaack (1 commits)")[![gerritlo](https://avatars.githubusercontent.com/u/1765486?v=4)](https://github.com/gerritlo "gerritlo (1 commits)")[![SvenMeierhans](https://avatars.githubusercontent.com/u/15871144?v=4)](https://github.com/SvenMeierhans "SvenMeierhans (1 commits)")

---

Tags

registrationgdprprivacydsgvoPolicyDatenschutz

### Embed Badge

![Health badge](/badges/friends-of-contao-contao-privacy/health.svg)

```
[![Health](https://phpackages.com/badges/friends-of-contao-contao-privacy/health.svg)](https://phpackages.com/packages/friends-of-contao-contao-privacy)
```

###  Alternatives

[in2code/femanager

Modern TYPO3 Frontend User Registration.

53790.4k8](/packages/in2code-femanager)[georgringer/gdpr

Make TYPO3 more compatible to GDPR

4657.7k](/packages/georgringer-gdpr)[symbiote/silverstripe-memberprofiles

Member registration and profile management

10252.9k3](/packages/symbiote-silverstripe-memberprofiles)[nucleos/profile-bundle

Registration and profile management for symfony

12237.1k1](/packages/nucleos-profile-bundle)[selli/laravel-gdpr-consent-database

A simple consent database for laravel applications to manage GDPR consents

181.4k](/packages/selli-laravel-gdpr-consent-database)[fof/terms

Ask users to accept terms of use before using the forum

1378.0k1](/packages/fof-terms)

PHPackages © 2026

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