Welcome to the GDPR extension documentation.
The GDPR extension allows to comply common GDPR regulations:
Firstly, please, find our extension in My Downloadable Products section of our store.
Learn how to install extension, and proceed with Configuration, which will guide you to setup all things.
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie
to enable the extension.php -f bin/magento setup:upgrade
to install the extension.php -f bin/magento cache:clean
to clean the cache.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
If the extension was installed by directly uploading files, you must also run the command composer require geoip2/geoip2:~2.0
to install the required libraries.
Run the commands:
composer require mirasvit/module-gdpr-hyva
Enable installed Hyva modules:
bin/magento module:enable Hyva_MirasvitGdpr Hyva_MirasvitGdprConsent Hyva_MirasvitGdprCookie
Update Magento database schema and data with the command:
bin/magento setup:upgrade
Compile the code of the installed extension:
bin/magento setup:di:compile
bin/magento cache:flush
Our GDPR extension is a simple yet powerful extension for building and setting common GDPR regulations. Most of its functions work out-of-box, but for full productivity, there's a number of settings that can be tuned up.
Settings, that allow to tune-up GDPR extension are located at Stores -> Configuration -> Mirasvit Extensions -> GDPR, and breaks into the following sections:
Option | Description |
---|---|
Enabled | If the option is disabled, all extension features are hidden from the frontend interface. |
Option | Description |
---|---|
Enabled | If enabled, the extension will display a cookie panel with cookie consent for each new visitor. If the cookies panel is disabled, it is considered as the user allows all cookies. |
Lock Screen | if enabled, the user is unable to make any actions on the site until he accepts or declines cookie consent in the cookie bar. |
Text | Write here the text that will be displayed in the cookie bar |
Show Decline Button | Shows the decline button for coockies accept |
Show settings button in footer | Enable the coockie setting button to be displayed in the page footer, which can open the cookie bar at any time. If enabled, Button Caption option appears, where you can choose the name of the button. |
Option | Description |
---|---|
Registration Form | Enables consent checkbox on the Registration Form |
Subscription Form | Enables consent checkbox on the Subscription Form |
Contact Us Form | Enables consent checkbox on the Contact Us Form |
Checkout Form | Enables consent checkbox on the Checkout Form |
Checkbox text | Unified consent checkbox text |
Option | Description |
---|---|
Download Personal Data | Enables the ability to download personal data (user info, address information, orders information) on the account page |
Anonymize Personal Data | Enables ability to anonymize personal data (replaces real Firstname, Lastname, Email, Date of births with anonymized text) |
Anonymize orders only in selected statuses | Anonymizes personal data only when order is in a specific status. Multiple choice available for statuses: pending, processing, suspected, fraud, complete, closed, canceled, on hold. |
Remove Personal Data and Account | Enables the ability to request personal data removal. After receiving the request, the administrator can accept or reject it at the Customer's Requests |
Automatic removing data for abandoned accounts | Enables the the extension to automatically remove the abandoned accounts. Please backup the store database before enabling the option. Use the Number of Days option to configure the period since the last order date for the extension to wait until the customer account will be considered as abandoned. |
Automatic anonymization of old orders | Automatically anonymizes old orders after the specified number of days stated in Number of Days field. The Order Information Protection does not affect the anonymization of old orders. |
Order information protection | When enabled, the extension won't remove/anonymize data for selected entities within the number of days specified in the Number of Days . The data entities that can be anonymized: Order, Customer, Addresses. |
Option | Description |
---|---|
Show link to dashboard in customer account | Activates the display of the link to the dashboard in the client's account. |
Option | Description |
---|---|
Display for all Countries | Activates the display the cookie consent for all countries. If the option Display for all Countries is set to No, you can choose which countries to show for |
Track rejected cookies | Enables tracking of cookie rejections. This is disabled by default because this tracking slows down the page load. |
Enables the modal window after clicking the settings button in the cookie bar.
Option | Description |
---|---|
Title | The name of the modal window. |
Text | A short description and explanation of what cookies will be used for. |
Optional Groups Enabled | If selected, makes optional groups in the modal window accepted by default, such as Marketing and Functionality. |
Option | Description |
---|---|
Enabled | Includes Google Consent Mode v2 and allows the user to decide whether to consent to the use of data about him or not. |
Default Consent | Allows to choose the default value for Google Consent. Allow or deny for: ad_user_data, ad_personalization, ad_storage, analytics_storage, personalization_storage, functionality_storage, functionality_storage, security_storage. |
# Google consent
Google Consent Mode v2 is a mechanism from Google that allows companies to customize the functionality of Google tags based on user consent to advertising and analytics. User tracking and data collection only takes place when user provides his consent.
In cases of no consent, Google tags transmit generalized signals. Google compensates the lack of tracking cookies with Advanced Consent Mode and GA4 Behavioral Modeling.
Option | Description |
---|---|
Enabled | Includes Google Consent Mode v2 and allows the user to decide whether to consent to the use of data about him or not. |
Our module includes a set of cookies necessary for the correct operation of the store and consent mode. They are arranged into four groups:
All of them must be active and displayed in the cookie bar, otherwise it may cause Consent mode v2 to malfunction.
All cookies that are not displayed in the cookie bar will be automatically rejected. Be careful when making changes to the Cookie and Cookie Group.
Option | Description |
---|---|
Display for all Countries | Activates the display the cookie consent for all countries. If the option Display for all Countries is set to No, you can choose which countries to show for |
Track rejected cookies | Enables tracking of cookie rejections. This is disabled by default because this tracking slows down the page load. |
Customers who requested to Remove Personal Data and Account displayed here. It is located at main Magento menu Customers -> Customers' Requests.
This section allows administrators to manage them. There are possible to Deny or Approve a request. Once the administrator made a choice, there is no option to revert it.
The grid allows sorting by Date, Customer, Request type, Status, Action, and ID.
The list of consents located at main Magento menu Customers -> Customers' Consents.
The grid allows tracking of consents by Date, Customer, Consent type, Status, Action, and ID.
This data can be useful for different consents analysis.
Shows the entire list of cookies in the history, you can also add new cookies here. You need to click the Add cookie button and fill in the information:
Shows a list of cookie groups, you can also create a new group here. You need to click the Add cookie group button and fill in the information:
Our module does not allow installing cookies that the store visitor did not accept. In case visitor rejects some the necessary cookies, for the store to continue operate correctly, the module has the ability to track such not installed cookies. This is a Track rejected cookies setting:
All cookies that are not in the module can be checked in Customer->Rejected cookies and added to the module. To easiy understand which cookies are missing, the module provides there a list of rejected cookies. There will also be cookies with which the user did not agree, so to understand exactly which cookies are missing, you need to compare them with the list of cookies and add those that are missing.
To upgrade the extension, follow these steps:
Run the command composer require mirasvit/module-gdpr:* --update-with-dependencies
to update the current extension with all dependencies.
composer require mirasvit/module-gdpr:* mirasvit/module-gdpr-hyva:* --update-with-dependencies
composer remove hyva-themes/magento2-mirasvit-gdpr
Run instead composer update mirasvit/*
command. It will update all the Mirasvit modules installed in your store.
Run the command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie
to re-enable extension.
php -f bin/magento module:enable -f Mirasvit_Core Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie Hyva_MirasvitGdpr Hyva_MirasvitGdprConsent Hyva_MirasvitGdprCookie
php -f bin/magento setup:upgrade
to install the updates.php -f bin/magento cache:clean
to clean the cache.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
To temporarily disable the extension, please follow these steps:
Run command php -f bin/magento module:disable Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie
to disable the extension.
php -f bin/magento module:disable -f Mirasvit_Gdpr Mirasvit_GdprConsent Mirasvit_GdprCookie Hyva_MirasvitGdpr Hyva_MirasvitGdprConsent Hyva_MirasvitGdprCookie
To uninstall the extension, please follow these steps:
Run command composer remove mirasvit/module-gdpr
to remove the extension.
composer remove mirasvit/module-gdpr mirasvit/module-gdpr-hyva
(2024-12-12)
(2024-10-30)
(2024-10-02)
(2024-09-24)
(2024-09-11)
(2024-08-30)
(2024-08-28)
(2024-08-01)
(2024-07-17)
(2024-07-11)
(2024-07-04)
(2024-07-03)
(2024-06-21)
(2024-05-28)
(2024-05-21)
(2024-05-17)
(2024-05-10)
(2024-05-08)
(2024-05-07)
(2024-04-24)
(2024-04-02)
(2024-04-01)
(2024-03-21)
(2024-03-20)
(2024-03-07)
(2024-03-05)
(2024-03-05)
(2024-03-01)
(2024-02-29)
(2024-02-28)
(2024-02-02)
(2023-12-22)
(2023-10-24)
(2023-09-18)
(2023-09-05)
(2023-05-25)
(2023-04-26)
(2023-02-22)
(2023-02-16)
(2023-02-01)
(2023-01-19)
(2023-01-16)
(2022-09-01)
(2022-07-06)
(2022-06-20)
(2022-06-10)
(2022-06-09)
(2022-05-23)
(2022-05-18)
(2022-05-09)
(2022-05-04)
(2022-04-18)
(2022-03-25)
(2022-03-25)
(2022-02-01)
(2022-01-31)
(2022-01-21)
(2022-01-06)
(2021-12-29)
(2021-12-07)
(2021-11-24)
(2021-11-19)
(2021-09-08)
(2021-09-06)
(2021-08-03)
(2021-07-12)
(2021-06-24)
(2021-06-15)
(2021-06-02)
(2021-05-26)
(2021-05-25)
(2021-05-25)
(2021-04-21)
(2020-12-15)
(2020-10-28)
(2020-10-26)
(2020-10-02)
(2020-09-11)
(2020-08-21)
(2020-05-22)
(2020-04-06)
(2020-03-11)
(2020-02-25)
(2020-02-19)