MWD Cookies & Consent - GDPR Cookie Banner + Google Consent Mode v2 for PrestaShop
PrestaShop module that displays a cookie consent banner compliant with GDPR, ePrivacy and the CNIL Directive, with Reject button at the same level as Accept and per-category preferences.
Automatically implements Google Consent Mode v2, blocks third-party scripts until consent is granted and keeps a persistent log for audit trail.
Bilingual admin interface (RO + EN), full customization for colours, texts, banner size and position, without code editing.
Compatible with PrestaShop 8.x and 9.x, ships with a pre-configured inventory of 40+ common cookies.
WHAT DOES THIS MODULE DO?
-------------------------
- Displays a consent banner compliant with GDPR, ePrivacy and the CNIL Directive on the storefront
- Automatically implements Google Consent Mode v2 (analytics_storage, ad_storage, ad_user_data, ad_personalization)
- Blocks third-party scripts (Google Analytics, Meta Pixel, TikTok, Microsoft Clarity, Hotjar) until consent
- Pre-seeded cookie inventory with 40+ cookies from PrestaShop, Google, Meta, Microsoft, LinkedIn, TikTok, YouTube, Cloudflare, reCAPTCHA
- Auto-scan of browser cookies with auto-suggest for category, provider, duration and RO+EN description
- 4 visitor preference categories: Necessary, Analytics, Marketing, Personalization
- Full customization: colours, corner radius, shadow, banner size (5 presets XS to XL) and 3 positions (bottom, top, centered modal)
- Editable texts in RO and EN for title, description, Accept button, Reject button, Details button, Save button and footer label
- Floating footer button to reopen preferences, becomes compact (icon-only) after consent
- Persistent consent log with anonymized IP, timestamp and selected categories
- Automatic log cleanup after configurable retention (180 days default)
- HTML-level script auto-block using data-mwdcc-src attribute, no theme editing required
- Pre-configured snippets for Google Analytics 4, Google Ads, Meta Pixel, TikTok Pixel, Microsoft Clarity and Hotjar
- Extensible cookie categories with inline SVG icons (no external font dependency)
- Testing page with iframe homepage preview and Reset cookie button for quick retesting
- Diagnosis page with module status, hook verifications and active blocks
- Custom Code page for injecting custom snippets per category
- Respects browser Do Not Track (DNT) header with automatic blocking
- PrestaShop multi-shop support with separate configuration per shop
- Zip install with seamless upgrade preserving existing configuration
ADVANTAGES
----------
- Compliant with GDPR, ePrivacy and the CNIL Directive with Accept and Reject visible at the same level (not hidden behind "Settings")
- Automatic Google Consent Mode v2 - no loss of Google Ads and Google Analytics 4 conversions
- Fast setup: pre-configured inventory with RO+EN descriptions and ready-to-enable Google, Meta and Microsoft snippets
- Fully bilingual admin interface (RO + EN) - no external translation files needed
- Full customization without code editing - colours, texts, size, corner radius, shadow, position
- Third-party script auto-block without touching your theme template
- Browser scan with complete auto-suggest (name, domain, category, duration, provider, description) - add new cookies in 2 clicks
- Persistent log as audit proof in case of a Data Protection Authority (DPA / CNIL / ICO) investigation
- Native compatibility with PrestaShop 8.x and 9.x with automatic zip upgrade
- Testing page with iframe preview - see the working banner without leaving the back office
- Zero external dependencies: no CDN, no telemetry, no third-party server calls
- Clean, commented, extensible code - easy to add extra categories or snippets
- Significantly reduces the risk of GDPR fines (up to EUR 20M or 4% of annual global turnover)
- Increases visitor trust through full transparency over the cookies used
- Technical support available from the MWD team
RECOMMENDED FOR
---------------
- PrestaShop stores in the European Union that need GDPR and ePrivacy compliance
- Stores running Google Ads campaigns that require an active Consent Mode v2
- Stores with traffic from France, Germany, Italy or Spain (strict CNIL / DPA regime)
- Stores using Google Analytics 4, Meta Pixel, TikTok Pixel or Microsoft Clarity
- Stores that already received a warning from a Data Protection Authority
- PrestaShop developers and agencies offering GDPR consulting to their clients
- Multi-shop stores with different tracking configurations per shop
- E-commerce startups wanting legal compliance from day one of launch
- Stores wanting to avoid Meta Pixel or Google Ads Manager account blocking for policy reasons
- B2C stores that must manage individual consents for thousands of visitors
- Stores selling products for children, health or other sensitive segments where compliance is critical
- E-commerce sites doing remarketing and retargeting that must prove explicit consent





























