PHPackages                             datareporter/module-webcare - 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. datareporter/module-webcare

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

datareporter/module-webcare
===========================

Magento2 module to embed DataReporter WebCare elements (imprint, privacy notice, cookie banner)

2.0.0(1mo ago)023.6k↓39.7%2[1 issues](https://github.com/datareporter-gmbh/module-webcare/issues)MITPHP

Since Feb 21Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/datareporter-gmbh/module-webcare)[ Packagist](https://packagist.org/packages/datareporter/module-webcare)[ RSS](/packages/datareporter-module-webcare/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (27)Used By (0)

DataReporter WebCare Magento2 Module
====================================

[](#datareporter-webcare-magento2-module)

[![Magento 2](https://camo.githubusercontent.com/a318399b393b9abc759d1a1fd1c06be1e064f081554132b6b14d9d6a92e7d3bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d2533453d322e322d626c75652e737667)](https://camo.githubusercontent.com/a318399b393b9abc759d1a1fd1c06be1e064f081554132b6b14d9d6a92e7d3bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d2533453d322e322d626c75652e737667)[![PHP >= 7.0.13](https://camo.githubusercontent.com/8626448a95c7041cb8e2ecfd72eb1281269c71c9f77481e06024a410cb804fe5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e302e31332d677265656e2e737667)](https://camo.githubusercontent.com/8626448a95c7041cb8e2ecfd72eb1281269c71c9f77481e06024a410cb804fe5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d372e302e31332d677265656e2e737667)

Magento2 module to embed DataReporter WebCare elements (imprint, privacy notice, cookie banner)

Installation
------------

[](#installation)

The easiest way to install the extension is to use [Composer](https://getcomposer.org/).

Run the following commands:

- `$ composer require datareporter/module-webcare`
- `$ bin/magento module:enable DataReporter_Core` (if not already installed and enabled)
- `$ bin/magento module:enable DataReporter_WebCare`
- `$ bin/magento setup:upgrade && bin/magento setup:static-content:deploy`

Features
--------

[](#features)

### Imprint

[](#imprint)

Use class `\DataReporter\WebCare\Block\ImprintBlock` or embedd into CMS-Page/Block as Widget named 'WebCare - Imprint'

### Privacy Notice

[](#privacy-notice)

Use class `\DataReporter\WebCare\Block\PrivacyNoticeBlock` or embedd into CMS-Page/Block as Widget named 'WebCare - Privacy Notice'

### Cookie Banner

[](#cookie-banner)

All needed blocks are placed within the layout-xml `default.xml`.

If you need to add correct cookie handling if something was denied or allowed, contribute a js content to the container

`datareporter.webcare.cookiebanner.allow-handling` or `datareporter.webcare.cookiebanner.deny-handling`

#### Configuration

[](#configuration)

- URL for the Webcache-Server, normally this is  if the DataReporter-Suite is not self hosted
- Add Store configured language to the resource calls to override any other default language settings in DataReporter
- En-/Disabling of the Imprint-, Privacy Notice- and Cookie-Banner-Block to seperatelly controll if they are used
- En-/Disabling of Cookie Banner Custom Options, the default is no, as the standard method delivered by DataReporter are handling the denying of cookies quite well.

[![alt configuration](docs/images/configuration.png)](docs/images/configuration.png)

#### Example

[](#example)

- Widget selection within a CMS-Page/Block:

[![alt widget selection](docs/images/widget_selection.png)](docs/images/widget_selection.png)

- Enhancing cookiebanner functions:

Create your own module or adapt your themes `default.xml` and add following block instruction:

```

```

Content of `test.phtml`:

```
console.log('current status for cookies('+chosenBefore+'): '+status);

```

This will output the status of the cookie banner user interaction and all according actions and adaptions can be made to comply with the GDPR according to cookies

Adding a custom redirect handling:

In the extended cookie banner with the corresponding selection of different pages (e.g. for languages) a callback function can be registered. This is used in Magento to correctly redirect the user to the according storeview with magento internal redirects (to correctly set and transfer data from one storeview to another). This feature can be activated in the configuration: `Stores -> configuration -> DataReporter -> Settings -> WebCare -> Enable Cookie Banner custom redirect after consent`

Custom behavior can be added by disabling the default block and adding a custom one with another logic:

```

```

#### Demo

[](#demo)

Use following Demo-Credentials if you wanna try out the module, see `Privacy -> Configuration`

- Client-Id: 33f002cc-2586-42b6-987d-548b2953c7b8
- Organisation-Id: R5spy6ZYDqA

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance85

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 78.7% 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 ~107 days

Recently: every ~186 days

Total

25

Last Release

56d ago

Major Versions

1.3.11 → 2.0.02026-03-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d56febfba4f5d551b02c43b8da5f99c7027f24f0f070f3a2a48b03cdb0e8b75?d=identicon)[e-conomix](/maintainers/e-conomix)

---

Top Contributors

[![rosenberger-e-conomix](https://avatars.githubusercontent.com/u/47806105?v=4)](https://github.com/rosenberger-e-conomix "rosenberger-e-conomix (37 commits)")[![brosenberger](https://avatars.githubusercontent.com/u/2969243?v=4)](https://github.com/brosenberger "brosenberger (5 commits)")[![rflatti](https://avatars.githubusercontent.com/u/143484201?v=4)](https://github.com/rflatti "rflatti (3 commits)")[![avoelkl](https://avatars.githubusercontent.com/u/1798594?v=4)](https://github.com/avoelkl "avoelkl (2 commits)")

---

Tags

magento2-modulemagneto2composer-installermagento2data privacy

### Embed Badge

![Health badge](/badges/datareporter-module-webcare/health.svg)

```
[![Health](https://phpackages.com/badges/datareporter-module-webcare/health.svg)](https://phpackages.com/packages/datareporter-module-webcare)
```

###  Alternatives

[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2671.5M4](/packages/magepal-magento2-googletagmanager)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

167930.4k5](/packages/yireo-magento2-googletagmanager2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[magepal/magento2-reindex

Reindex your Magento2 store quickly and easily from backend/admin, instead of command line.

112649.7k1](/packages/magepal-magento2-reindex)[opengento/module-gdpr

Gdpr Compliance Module for Magento 2

14481.5k](/packages/opengento-module-gdpr)

PHPackages © 2026

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