Cookie Banner and Google Consent Mode v2 for PrestaShop (Free)

PP-M048F
  • 1.7.5 + | 8.x | 9.x
  • EN, FR, IT, DE, PL, ES
  • 1.0.4
  • 2026-06-21

PrestaPremium Consent Mode v2 (Free) is a reliable, free PrestaShop module that implements a fully GDPR-compliant cookie banner and handles Google Consent Mode v2 for Google Analytics and Ads. Built to a strict zero-core-override standard — requiring no theme edits or core file overwrites.

An ideal solution for stores utilising GTM or GA4, requiring just a few clicks for complete configuration. The front-end driven architecture (JavaScript) ensures the banner operates flawlessly even with aggressive caching (LiteSpeed, Smarty Cache) — banner visibility and customer choice storage occur directly in the browser, not on the server.

0.00 € Tax excluded

Additional services:

Installation +29.10 €

569 Downloads
Store Administration Back office demo
  • Free module shared with the PrestaShop community
  • Possibility to report suggestions and bugs - corrections according to availability
  • No warranty or support as standard (no SLA)
  • Download available after logging into the customer account. Download limit 99
  • Need modifications or support? ask about the service

Information Parameters:

  • 1.0.4
  • Store Version PHP Version
    1.7.5 + 7.1 – 7.4
    8.x 8.1 – 8.3
    9.x 8.1 – 8.5
  • 2026-06-21
  • EN, FR, IT, DE, PL, ES
  • demo.admin.shop

Key Benefits and Technical Standards

  • Full Google Consent Mode v2 Support — four native consent signals (analytics, ads, user data, personalisation) rigorously initialised before any Google tags load.
  • Uncompromised GDPR Compliance — visually equal 'Accept all' and 'Reject all' buttons, supported by a clear, granular settings panel with toggles.
  • Absolute Cache Resistance — banner display logic is entirely moved to JavaScript. The HTML can be cached on the server, but the browser decides whether to render it based on cookie presence.
  • Zero-Reload Operation — upon acceptance, the module seamlessly triggers gtag('consent', 'update') in the background, protecting the analytical session and preventing purchase path interruption.
  • Plug & Play — easily switch between Basic/Advanced modes, with an optional field for GTM/GA4 container IDs and a built-in multilingual banner text editor (EN/PL by default).

Module Use Cases

  • Securely deploy cookie consents without needing a developer to modify the theme or template.
  • Protect and optimise Google Ads campaigns thanks to accurate transmission of consent signals before advertising cookies are stored.
  • Stable performance on high-performance hosting with advanced caching mechanisms (LiteSpeed, Varnish, CDN).
  • Full support for Multistore environments and multilingual shops (independent configuration of parameters and texts per shop/language).

Features – Back Office

Consent Mode Operational Modes

Manage your analytical strategy from a minimalist, user-friendly form.

  • Enable module — toggles the banner and consent scripts on or off for the current store.
  • Basic Mode — hard blocking of Google cookies until explicit consent is given by the user.
  • Advanced Mode (Recommended) — transmission of cookieless pings, allowing for effective conversion modelling in GA4 even upon refusal (following Google guidelines for the EU).

Multilingual Text Editor

Full control over your legal notice thanks to the integrated TinyMCE editor with language tabs.

  • Secure HTML — embed links to privacy policies with automatic code sanitisation (purifyHTML).
  • Pre-configuration — ready-to-use messages in English and Polish immediately after installation.

Auto-initialisation of GTM / GA4

Optional field to enter a GTM-XXXXXXX or G-XXXXXXX identifier if tags are not yet in your theme.

  • Consent Priority — the module natively sets the denied state before asynchronously loading the container.
  • Smart Integration — leave the field blank if Google scripts are already implemented in your theme to prevent code duplication errors.

Help Panel and Updates

A convenient administrative interface built on the modern ppadminps layout.

  • Configuration guide — contextual explanations below the form for lightning-fast deployment.
  • PP Updater — built-in notification system informing you about new versions of the tool.

Features – Front Office

Modern Consent Banner

A minimalist interface at the bottom of the screen, designed with high UX and conversion rates in mind.

  • No Dark Patterns — honest design with no visual pressure (buttons of equal size and weight).
  • Granularity — access to advanced settings with four independent switches (disabled by default).

Discreet Privacy Widget

An elegant icon in the corner of the screen ensuring customers can review and withdraw their consents at any time, fully satisfying EU legal requirements.

Optimised Code in <head>

Utilising the displayHeader hook at the highest position guarantees that the consent state definition always precedes the loading of any external trackers.

Business and SEO Impact

  • Legal Protection — minimising the risk of legal issues related to remarketing and analytics in the EU.
  • Data Loss Resilience — implementing Advanced mode allows Google's AI algorithms to recover a portion of statistics that would be lost forever in older solutions.
  • Zero Performance Compromises — on-the-fly consent updates protect against checkout process interruption and abandoned carts.
  • Clean SEO — asynchronous scripts do not modify the URL structure or slow down the indexing of key content by Googlebot.

Important Deployment Information and Legal Notice

Scope of Operation and Compatibility: This module specialises exclusively in handling the Google ecosystem (GTM, GA4, Ads, Consent Mode v2). It does not replace a terms and conditions document, a privacy policy, or native blocks for other external trackers (e.g., Meta Pixel, Hotjar). If you have already implemented tags directly in the theme code, leave the ID field in the module blank to prevent double-loading of containers. Compatibility: PrestaShop 1.7.7 – 9.x.

Terms of Use and Liability: The module is provided entirely free of charge on an "as is" basis. Due to the unique technical specification and configuration of each online store, the User is solely responsible for independently testing and verifying the correct operation of the banner (we strongly recommend a thorough test in an incognito window prior to production launch). PrestaPremium makes every effort to ensure the software meets the highest market standards and guidelines; however, it accepts no liability for any potential claims, financial losses, or legal consequences arising from its use.

Download:


PrestaShop module installation (625.83KB)

Universal documentation describing the module installation process for PrestaShop.

## [1.0.4] - 2026-06-20

### Added

- Support banner at the top of the configuration tab (free module CTA).
- Bottom `alert-info` panel explaining Consent mode and GTM/GA4 settings.

## [1.0.3] - 2026-06-20

### Changed

- Advanced consent preferences use accessible toggle switches instead of checkboxes.
- Switch state syncs from saved cookie when reopening settings.

## [1.0.2] - 2026-06-17

### Changed

- Banner description uses the native PrestaShop TinyMCE editor in back-office.

## [1.0.1] - 2026-06-12

### Added

- Multilingual banner description textarea in back-office (language tabs, EN/PL default samples).
- Multistore-aware configuration save/load for all settings.

## [1.0.0] - 2026-06-10

### Added

- Initial free release: Google Consent Mode v2 with cache-safe client-side consent banner.
- GDPR-compliant accept/reject buttons, advanced settings panel and floating widget.
- Back-office configuration (Basic/Advanced mode, optional GTM/GA4 ID).
- Integration with ppadminps, ppadmintabinstaller and ppupdater components.

FAQs

  • Are the modules compatible with my version of PrestaShop?

    Each module in our store contains information about compatibility with specific PrestaShop versions. Please check this information carefully before purchasing. If you are not sure, contact us.

  • Which consents does Google Consent Mode v2 set?

    The module supports the four Google Consent Mode v2 consent signals: analytics, advertising, user data, and personalisation. According to the description, their state is initialised before Google tags load. The administrator can choose the module operating mode and optionally provide a GTM container or GA4 ID when autoinitialisation is required.

  • What is the difference between Basic and Advanced mode?

    In Basic mode, the module blocks Google cookies until the user gives explicit consent. Advanced mode sends cookie-free consent signals, described as cookieless pings. The mode is selected in the module configuration. Both settings apply to the Google ecosystem, including GTM, GA4, Ads, and Consent Mode v2.

  • What choices can a banner user make?

    The banner provides visually equal “Accept all” and “Reject all” buttons. From the settings panel, the user can access four independent consent toggles, which are disabled by default. A privacy widget lets them later reopen the settings and change or withdraw their saved choices.

  • Why does the banner work with page caching?

    The decision to display the banner is made in JavaScript based on the presence of cookies in the browser. This allows the page to use server-side caching while consent logic remains dependent on the user’s current state. After consent is accepted, the module updates it in the background without reloading the page or interrupting the session.

  • When should I leave the Google ID field empty?

    If Google scripts are already implemented directly in the store theme, the module description recommends leaving the GTM or GA4 ID field empty. This prevents containers from loading twice. The field is optional and is used to autoinitialise GTM or GA4. The module does not replace a privacy policy or block other external trackers.

Do you need additional features or custom solutions?

  • Module customisation tailored to your specific requirements.
  • Extending functionality to enhance your store's capabilities.
  • Developing bespoke modules designed to meet your unique needs.
  • Integrating external systems and additional tools.
  • Optimisation and improvements for better performance and user experience.

Do you have ideas on how to improve this software? Share your suggestions for optimisation, new features, or bug reports – we’ll be happy to review them!