Download the PHP package datareporter/module-webcare without Composer
On this page you can find all versions of the php package datareporter/module-webcare. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download datareporter/module-webcare
More information about datareporter/module-webcare
Files in datareporter/module-webcare
Package module-webcare
Short Description Magento2 module to embed DataReporter WebCare elements (imprint, privacy notice, cookie banner)
License MIT
Informations about the package module-webcare
DataReporter WebCare Magento2 Module
Magento2 module to embed DataReporter WebCare elements (imprint, privacy notice, cookie banner)
Installation
The easiest way to install the extension is to use Composer.
Run the following commands:
- (if not already installed and enabled)
Features
Imprint
Use class ` or embedd into CMS-Page/Block as Widget named 'WebCare - Imprint'
Privacy Notice
Use class ` or embedd into CMS-Page/Block as Widget named 'WebCare - Privacy Notice'
Cookie Banner
All needed blocks are placed within the layout-xml .
If you need to add correct cookie handling if something was denied or allowed, contribute a js content to the container
or
Configuration
- URL for the Webcache-Server, normally this is https://webcache-eu.datareporter.eu/c/ 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.
Example
- Widget selection within a CMS-Page/Block:
- Enhancing cookiebanner functions:
Create your own module or adapt your themes and add following block instruction:
Content of :
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:
Custom behavior can be added by disabling the default block and adding a custom one with another logic:
Demo
Use following Demo-Credentials if you wanna try out the module, see `
- Client-Id: 33f002cc-2586-42b6-987d-548b2953c7b8
- Organisation-Id: R5spy6ZYDqA