Automated consent extension for Magento 2 that supports Consent Mode V2. Obtains and Communicates the user’s consent choice to Google.
It comes with full support for Google Consent, Google Consent Mode V2 and Google Tag Manager. Super flexible extension with ton of built-in options including automatic cookie detection, text/color and theme customization.
Core Web Vitals (LCP/INP/CLS/FCP/FID) optimized, minimal and lightweight yet powerful solution for GDRP/CookieLaw Compliance.
Hyvä Theme support, Composer support
Adds a consent popup window in visitor browser allowing them to grant or deny cookies, customize their cookie preferences and provide informed decition on cookie usage.
Users are provided with clear and visible dialog window letting them know that you use cookies, why you use them, and what types.
The consent popup is designed to show minimal initial information in order to provide unobtrusive appearance and speed up cookie choice selection. But it also provides ability to let visitors customize their choice regarding allowed and/or denied types of cookies.
Flexible and mobile friendly cookie widget.
We have designed the module to allow for multiple customizations including both visual and texts. You can adjust text color, backround color, sticky icon color including usage of gradients, different links and texts, animated checkboxes icons and more. You can set border radius, select shadow usage and much more.
The extension provides full support of Google Consent Mode V2, it supports ALL consent mode types as follows:
ad_storage
Enables storage, such as cookies (web) or device identifiers (apps), related to advertising.
ad_user_data
Sets consent for sending user data to Google for online advertising purposes.
ad_personalization
Sets consent for personalized advertising.
analytics_storage
Enables storage, such as cookies (web) or device identifiers (apps), related to analytics, for example, visit duration.
functionality_storage
Enables storage that supports the functionality of the website or app, for example, language settings
personalization_storage
Enables storage related to personalization, for example, video recommendations
security_storage
Enables storage related to security such as authentication functionality, fraud prevention, and other user protection
Cookie Consent extension for Magento 2 with full support for Consent Mode, Consent Mode V2, automatic cookie blocking and more.
Find below a quick interactive preview of all the configuration options supported. We have added a ton of options to allow you to customize every bid of performance and appearance.
All our products come with a 6 full months (180 days) of premium support. To report a bug, use our Premium Help Desk available in your account at Anowave.
Great extension and really flexible in terms of options. Developers provided solid support and it worked perfectly.
Definitely recommend it!
Yes, I recommend this product
I have been baffling with free and paid cloud based solutions for weeks and they all worked partly.
You've gone above and beyond with this extension, very very very robust and finally something that really works.
Thank you for the great service and support!
Yes, I recommend this product
This extension can be installed in a few minutes, by going through the following steps:
You can install this extension via Composer only after purchasing a Composer support package
Google Consent Mode V2 configuration
If you use Google Consent mode for your tags and/or have Additional Consent Checks you need to edit your GA4 Configuration tag (Google Tag) and change it's trigger from All Pages to Event Equals Cookie Consent Granted. This will allow this tag to fire whenever consent is granted. Otherwise, the tag will fire on all subsequent requests therefore you will lose the initial HIT.
Testing Consent Mode / GDRP features involves the following steps:
1. Hit F12 in your browser, then go to Console -> Storage and remove any cookies prefixed 'cookie' e.g. 'cookieConsentGranted' etc.
2. Go to Console -> Local Storage and remove 'consentMode' value
3. Once done, put GTM in Preview mode and refresh your site.
4. Accept cookies and check if GA4 Configuration (Google Tag) is firing.
5. Optionally (as a developer) you can check Console -> Network requests for any requests to https://region1.google-analytics.com/g/collect?v=
Also when checking browser requests in the F12 -> Console -> Network tab, you can inspect 1 important parameter:
gcs - Encodes the current state of the user’s consent. The gcs parameter always begins with “G1” and is followed by two other digits, either 1 or 0. The G1 is a constant that indicates that the parameter is a GA4 consent mode parameter, so the first 1 doesn’t tell us anything.
G100 No consent has been granted.
G110 Google Ads has consent, Google Analytics does not.
G101 Google Analytics has consent, Google Ads does not.
G111 Both Google Ads and Google Analytics have consent.
3rd PARTY Consent Configuration
The feature provides a mechanism to include third party script into consent mode compliance. To do so, you need to add some data-* attributes tagging to those scripts. The following changes are required:
1. Remove 'async' attribute
2. Change 'type' attribute from 'text/javascript' to 'text/template' e.g. type='text/template'. If type attribute is missing, add it as 'text/template'
3. Add data-consent="cookieConsentGranted" attribute to SCRIPT tag. Attribute values may include:
Review granted permissions
You can review all granted permissions in a separate menu in admin panel under Admin -> Reports -> GDRP Consent (see below)
The module will automatically detect and collect cookies set in browsers. These cookies will appear in administration panel under Reports -> Consent Cookies V2 listed as grid. By default all cookies are presumed Unclassified, you can click on any row contaning a cookie and assignt that cookies to specific segment. From then on this cookie will get set when customers allow the segment in the cookie consent widget in frontend.
You can also put manual text description of the cookie which can be seen in the widget when customers click 'Learn more' next to each cookie segement. The cookie segments correspond to those in the frontend thus effectively allowing cookie classification.
Anowave is an extension developer for Magento 1.x and Magento 2.x platforms. We provide a wide range of premium extensions for our in-house and public clients. The extensions we offer extend the capabilities of Magento and provide bespoke functionality. They also fill some gaps in the functionality provided by the base platform and help customers choose Magento as their preferred eCommerce platform.
The extensions we offer are part of our full-range Magento service, which also includes a Premium Helpdesk where customers can speak with actual software engineers and have their issues resolved without hassle. Premium-labeled modules also include free installation, configuration, testing, etc.