Magento Adobe Commerce Magento 2 Cookie Consent Mode V2 2 ANOWAVE 0 9 7 7 1 1 Magento 2 ™ €79 90

Magento 2 Cookie Consent Mode V2

  • In Stock
  • Price:
  • €79 90
  • SKU:
  • MAGE2-CONSENT
  • Premium product
  • Customer choice



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

Built for Magento 2

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.

 

Multiple options supported

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.

 

Google Consent Mode V2

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

Overview

Cookie Consent extension for Magento 2 with full support for Consent Mode, Consent Mode V2, automatic cookie blocking and more.

 

Key features

  • Google Consent Mode support
  • Google Consent Mode V2 support
  • Google Tag Manager dataLayer[] support
  • Built using vanilla Javascript (no dependencies, not third party libraries)
  • Built-in tool for converting script snippets into GDRP compliant scripts
  • Fully customizable directly from configuration
  • Color/Text customizations from configuration
  • PageSpeed optimization (LCP/INP/CLS/FCP/FID metrics optimized)
  • Automatic or manual cookie classification
  • Manual script blocking
  • Automatic script blocking
  • Responise design
  • Sticky cookie consent widget support with advanced SVG icons for perfect display
  • Fully customizable texts
  • Multiple positioning
  • Does not rewrite existing blocks, modules and controllers.
  • Does not add additional product attributes.
  • Does not modify existing attribute sets.
  • Does not require additional loaders, decoders and software to operate normally.
  • No monthly fees.

 

Configuration options preview

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.

General Options Notice [store view] Please read Terms of Service. It is important to understand how this extension works and make informed decision to use it or not. Enable [store view] Yes This is a comment License [store view] qBKMQpUd/1GSuQmvQLCRuBAHPqsfC3VuNo8QrCIzWss= Enter license key for domain 247.mage Consent Settings Enable Cookie Consent [store view] Yes Enable EUROPA Cookie Consent Directive Consent Mode [store view] Segmented mode Select consent mode Display cookies usage [store view] Yes Displays cookies and cookie descriptions Consent Widget [store view] Keep sticky consent widget on accept/decline (bottom left) Set desired display behaviour Widget color [store view] Choose background color. Default: rgb(255,255,255) e.g. White Widget color gradient end [store view] Choose background color. Default: rgb(255,255,255) e.g. White Check all by default [store view] Yes Display consent checkboxes as selected by default. Initialize dataLayer[] on DECLINE [store view] Yes If enabled, the dataLayer[] object will still get initialized. Default consent states will remain denied. Cookie Consent content [store view] This website (%s) is using cookies. We use them to give you the best experience. If you continue using our website, we will assume that you are happy to receive all cookies on this website. Border radius [store view] 4 Set GDRP popup border radius in pixels. Default: 8 Button radius [store view] 4 Buttons radius: Default: 2px Customize colors [store view] Yes Set to Yes to customize colors Background color [store view] Choose background color. Default: rgb(255,255,255) e.g. White Text color [store view] Choose text color. Default: rgb(0,0,0) e.g. Black Close icon color [store view] Choose text color. Default: rgb(0,0,0) e.g. Black Customize text link color [store view] Choose text color. Default: rgb(0,0,0) e.g. Black Accept link color [store view] Choose accept link button background color. Default: rgb(0,0,0) e.g. Black Checkbox color [store view] Choose checkbox color. Default: rgb(0,0,0) e.g. Black Allow advanced CSS styling [store view] Yes Set to Yes to customize colors Additional styles [store view] Insert additional CSS style rules for action buttons Confirm link text [store view] ACCEPT Modifies confirmation link text Confirm all link text [store view] ACCEPT ALL Modifies confirmation all link text Thank you text [store view] THANK YOU Modifies "thank you" text Learn more link text [store view] LEARN MORE Modifies "Learn more" link text Learn more link URL [store view] Modifies "Learn more" link URL Display DECLINE button [store view] Yes Shows a DECLINE button in widget. Click on this button will fire a cookieConsentDeclined event Customize link text [store view] Show more Modifies CUSTOMIZE link text Customize link close text [store view] Show less Modifies CUSTOMIZE link text when customize panel is visible Converter Converter [store view] Use this tool to convert script snippets into GDRP compliant script snippets. Can be used to quickly convert Meta Pixel Tracking script, TikTok snippet etc. Convert script
Magento platform version
2.* EE,2.2.*,2.3.*,2.4.*
Application/Purpose
Conversion rate,Reporting,Administration
Type
Commercial
Latest version

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.

Customer review(s)

Purchased Magento 2 Cookie Consent Mode V2

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

Purchased Magento 2 Cookie Consent Mode V2

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

Note: By submitting a review you agree to our Terms and Conditions.





User Guide & Documentation

Installation from Command Line

This extension can be installed in a few minutes, by going through the following steps:

  • Download/purchase the extension
  • Unzip the file in a temporary directory
  • Copy directory contents and paste it in your Magento installation root directory. This extension will not replace existing code or file structure
  • Enter the following at the command line:

    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy (only if site is in production mode)

 

Installation and updating with Composer

You can install this extension via Composer only after purchasing a Composer support package

  • Run the following Composer commands

    composer require anowave/package
    composer require anowave/consent

    bin/magento setup:upgrade
    bin/magento setup:static-content:deploy (only if site is in production mode)

 

Cookie Consent Configuration

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: cookieConsentGranted, cookieConsentMarketingGranted, cookieConsentUserdata, cookieConsentPersonalization, cookieConsentPreferencesGranted, cookieConsentAnalyticsGranted

 

Review granted permissions

You can review all granted permissions in a separate menu in admin panel under Admin -> Reports -> GDRP Consent (see below)

Actions 54 records found Filters Default view Columns Consent ID Consent IP Consent Consent datetime Action 00000435 67.165.18.45 cookieConsentGranted(1), cookieConsentAnalytics(1) Oct 08, 2023 19:53 Delete 00000068 39.131.170.212 cookieConsentGranted(0), cookieConsentAnalytics(1) May 19, 2023 14:22 Delete 00000139 122.67.235.175 cookieConsentGranted(1), cookieConsentAnalytics(1) Jan 05, 2023 04:52 Delete 00000103 33.51.249.79 cookieConsentGranted(0), cookieConsentAnalytics(0) May 21, 2023 10:22 Delete 00000388 121.232.9.64 cookieConsentGranted(1), cookieConsentAnalytics(1) Jun 18, 2023 13:28 Delete You can see granted consent per visitor Browser IP address included in reports

Cookie Classification

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.

 

Installation

Now: Next:

Extensions for Magento

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.