Skip to main content
Version: 2.0.0

GDPR

The GDPR Cookie Consent plugin for Craft CMS is designed to help you comply with the General Data Protection Regulation (GDPR) by providing a customizable solution for managing user consents related to cookies. The plugin enables you to display a cookie consent banner on your website, allowing users to accept or reject different categories of cookies.

Key Features

  • Customizable consent banner
  • Support for multiple cookie categories
  • Consent management and storage
  • Integration with Google Tag Manager and other third-party services
  • Automatic consent updates

Installation & Requirements

Requirements

Before installing the plugin, ensure that your Craft CMS installation meets the following requirements:

  • Craft CMS version 4.8 or higher
  • PHP version 8.2 or higher
  • Composer

Installation

Install with the following composer require command:

composer require yui/craft-gdpr

Use Cases

The GDPR Cookie Consent plugin can be used in various scenarios to ensure compliance with GDPR regulations:

E-commerce Websites

Display a consent banner to inform users about the use of cookies for tracking and personalization. Allow users to manage their cookie preferences.

Blogs and News Sites

Provide a cookie consent banner to manage analytics and advertising cookies, ensuring users have control over their data.

Corporate Websites

Implement a consent banner to comply with GDPR regulations and build trust with your visitors by being transparent about data usage.

Configurations & How To

Basic Configuration

After installing the plugin, you need to configure it to fit your website’s needs. Follow these steps:

  1. Navigate to Settings > GDPR Cookie Consent in the Craft CMS control panel.
  2. Configure the general settings, including the consent banner text, appearance, and behavior.
  3. Define the cookie categories (e.g., Necessary, Preferences, Statistics, Marketing) and their descriptions.