PHPackages                             mediengarage/piwik-consent-manager - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mediengarage/piwik-consent-manager

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

mediengarage/piwik-consent-manager
==================================

0.3.1(3mo ago)787GPL-2.0-or-laterPHP

Since Jun 28Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/MEDIENGARAGE/typo3-piwik-consent-manager)[ Packagist](https://packagist.org/packages/mediengarage/piwik-consent-manager)[ RSS](/packages/mediengarage-piwik-consent-manager/feed)WikiDiscussions main Synced 1mo ago

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

[ ![Mediengarage Logo](https://user-images.githubusercontent.com/4928098/172920747-345acba4-9a12-4d3a-a566-49b5bbb9016b.png "Mediengarage")](https://mdngrg.de/)PIWIK Consent Manager TYPO3 extension
=====================================

[](#piwik-consent-manager-typo3-extension)

PIWIK Consent Manager integration in order to make TYPO3 content elements GDPR compliant.

You can click on the images in this readme to see a larger version.

1. [What does it do?](#-what-does-it-do)
2. [Installation](#-installation)
3. [Quick Start](#-quick-start)
4. [TypoScript Condition](#-custom-typoscript-condition)
5. [Roadmap](#-roadmap)

🤔 What does it do?
------------------

[](#-what-does-it-do)

Instead of privacy harming content a placeholder will be displayed to the user.

[![Bildschirmfoto 2022-06-09 um 21 56 47](https://user-images.githubusercontent.com/4928098/172933972-57d0ba1b-1f8a-4dbc-9ee2-48bd5ca143d4.png)](https://user-images.githubusercontent.com/4928098/172933972-57d0ba1b-1f8a-4dbc-9ee2-48bd5ca143d4.png)

Only when the user gives its consent on the PIWIK Consent Manager the page is reloaded and the actual content will be shown.

[![Bildschirmfoto 2022-06-09 um 21 57 13](https://user-images.githubusercontent.com/4928098/172934095-840e8937-127a-4758-a0a8-051467a952c4.png)](https://user-images.githubusercontent.com/4928098/172934095-840e8937-127a-4758-a0a8-051467a952c4.png)

📦 Installation
--------------

[](#-installation)

1. Install extension

    - **Composer**

        ```
        composer req mediengarage/piwik-consent-manager:~0.1
        ```
    - **Non Composer**

        If you want to install into a non composer TYPO3, using the TER is recommended. You can download and install it directly from the Extension Manager of your TYPO3 instance.
2. Include static template into your root TypoScript template and **click save**:

     [![include_static_template](https://user-images.githubusercontent.com/4928098/172921874-a8821fa0-bd85-4d05-8981-bd0a0353a7e4.png)](https://user-images.githubusercontent.com/4928098/172921874-a8821fa0-bd85-4d05-8981-bd0a0353a7e4.png)
3. Navigate to **Configure extensions** from the Settings module under Admin Tools:

     [![configure_extensions](https://user-images.githubusercontent.com/4928098/172928087-8fb64880-2ff8-4c23-86a2-1d833559b113.png)](https://user-images.githubusercontent.com/4928098/172928087-8fb64880-2ff8-4c23-86a2-1d833559b113.png)
4. Enter your PIWIK Pro credentials. Check step 5 to see from where to retrieve those values from. Keep them secret!

     [![extensions settings](https://user-images.githubusercontent.com/4928098/172929247-a79a78a3-4868-451d-a51e-3f15a1824089.png)](https://user-images.githubusercontent.com/4928098/172929247-a79a78a3-4868-451d-a51e-3f15a1824089.png)
5. Login to your [PIWIK Pro](https://piwik.pro) account and navigate to Menu -&gt; Administration. Choose your website and click the Installation tab.

     [![piwik_installation](https://user-images.githubusercontent.com/4928098/172931019-5a4e316a-35f7-42a8-9486-54f759fa0a76.png)](https://user-images.githubusercontent.com/4928098/172931019-5a4e316a-35f7-42a8-9486-54f759fa0a76.png)

🚀 Quick Start
-------------

[](#-quick-start)

Quickstart shows how to embed a YouTube video which is only displayed when a user gives its consent. A placeholder will be shown if no consent was set or it was declined.

In order to have a basic website for presentation purposes the quick start guide uses [https://github.com/benjaminkott/bootstrap\_package](https://github.com/benjaminkott/bootstrap_package).

1. Create a new content element anywhere on the page and choose YouTube from the new privacy tab:

     [![new_content_element](https://user-images.githubusercontent.com/4928098/172922614-d0fd3aa4-d9df-471f-9dd0-a5f5a57cf79f.png)](https://user-images.githubusercontent.com/4928098/172922614-d0fd3aa4-d9df-471f-9dd0-a5f5a57cf79f.png)
2. Paste the embed markup into text area and choose a consent type to which the element should react. React means it will be displayed when the user gives its consent on that type. The default placeholder image can be overwritten on a per content element basis in the image tab.

     [![yt_content_element](https://user-images.githubusercontent.com/4928098/172923497-a71517cb-1df4-431f-81e6-86b95b08bc70.png)](https://user-images.githubusercontent.com/4928098/172923497-a71517cb-1df4-431f-81e6-86b95b08bc70.png)
3. Login to your [PIWIK Pro](https://piwik.pro) account and navigate to Menu -&gt; Tag Manager. Create an asynchronous tag for the chosen consent type (Custom Consent in this example) in order to reload the page when a consent was sent. Don't forget to save and publish (or debug to test on production system).

    ```

        location.reload();

    ```

     [![piwik_tag](https://user-images.githubusercontent.com/4928098/172932884-75a99252-6263-438a-b7ee-0f29120c2497.png)](https://user-images.githubusercontent.com/4928098/172932884-75a99252-6263-438a-b7ee-0f29120c2497.png)

🤓 Custom TypoScript Condition
-----------------------------

[](#-custom-typoscript-condition)

In order to e.g. embed JavaScript based on whether a consent is set or not a custom TypoScript condition can be used.

```
[ConsentAspect('custom_consent')]
page.includeJSFooter {
  foo = EXT:bar/Resources/Public/JavaScript/script.js
}
[GLOBAL]

```

🛣 Roadmap
---------

[](#-roadmap)

- We're currently working on a solution that works using ajax instead reloading the complete page.
- The readme is clearly under construction 🙂

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance82

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% 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 ~165 days

Recently: every ~273 days

Total

9

Last Release

95d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a63af6e10231680cb307420f8e50fe129712f8ec6ccef49c514c522d4712de57?d=identicon)[wipster](/maintainers/wipster)

---

Top Contributors

[![fazzyx](https://avatars.githubusercontent.com/u/6721027?v=4)](https://github.com/fazzyx "fazzyx (30 commits)")[![Wipster](https://avatars.githubusercontent.com/u/4928098?v=4)](https://github.com/Wipster "Wipster (9 commits)")

---

Tags

consent-managementgdprpiwiktypo3

### Embed Badge

![Health badge](/badges/mediengarage-piwik-consent-manager/health.svg)

```
[![Health](https://phpackages.com/badges/mediengarage-piwik-consent-manager/health.svg)](https://phpackages.com/packages/mediengarage-piwik-consent-manager)
```

###  Alternatives

[in2code/powermail

Powermail is a well-known, editor-friendly, powerful and easy to use mailform extension for TYPO3 with a lots of features

982.5M38](/packages/in2code-powermail)[fluidtypo3/flux

The flux package from FluidTYPO3

152982.2k20](/packages/fluidtypo3-flux)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)[derhansen/sf_event_mgt

Configurable event management and registration extension based on ExtBase and Fluid

64313.9k6](/packages/derhansen-sf-event-mgt)[typo3/cms-t3editor

TYPO3 CMS T3Editor - JavaScript-driven editor with syntax highlighting and code completion. Based on CodeMirror.

115.9M50](/packages/typo3-cms-t3editor)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

39488.5k](/packages/wazum-sluggi)

PHPackages © 2026

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