PrestaShop 1.6 to 9.x module · PHP 5.6 to 8.5

The CookieYes banner, in the right place on your shop

Paste your CookieYes site key: the banner loads at the very top of every page, before any other script, with Google Consent Mode v2 signals. Your cookie declaration gets its own page, and your customers can change their mind in one click.

Configurationback office
Module Configuration tab: CookieYes site key, domain name, Use the shop domain and Test my configuration buttons, Script URL preview
1st
script on the page: CookieYes runs before all the others
0
theme changes, no table created
6
languages included, from PrestaShop 1.6 to 9.x

01 - How it works

How does it work?

From your CookieYes account to a live banner, in three steps

Your CookieYes account

Create your account, add your shop, let the scan detect your cookies and set the banner design, texts and languages.

The site key

Paste your site key, the script address or the whole installation code into the module: it keeps only the key, and the banner is live.

The finishing touches

Turn on Google Consent Mode v2 and the declaration page, then choose where the “Cookie preferences” link appears and on which pages the banner has no place.

02 - Script

The first script on the page

CookieYes automatic blocking only works if CookieYes runs before the other scripts

The right hook

Right after the title tag on PrestaShop 1.7.8 to 9, at the top of the head on 1.7.0 to 1.7.7, first module of the header on 1.6: the module picks the spot for your version.

Protected against deferral

JavaScript optimisation modules and Cloudflare Rocket Loader can no longer delay the consent script, and PrestaShop does not move it to the bottom of the page.

Defer only if you want to

Deferred loading stays an option, off by default: without automatic blocking, it speeds up display a little.

Checked before going live

The script address is shown as you type, and the “Test my configuration” button checks from your server that CookieYes really serves your script.

Survives updates

Nothing is pasted into the theme: a theme update never makes the banner disappear.

Configurationback office
Full Configuration tab: site key, domain name, Script URL preview, banner and Google Consent Mode v2

04 - Video

The module on video

The CookieYes site key pasted and checked, Google Consent Mode v2, the advanced options, the “Cookie preferences” link and the cookie declaration page, tab by tab. No sound.

05 - Declaration

Your cookies declared, your customers free to change their mind

A declaration page on your shop and a link to revisit the choice

Declaration

A real shop page

The cookie audit table, kept up to date by CookieYes after every scan, with an introduction text and a button to reopen the banner. Address, title and SEO tags are set language by language.

Preferences

A link always within reach

A “Cookie preferences” link in the footer and, if you wish, in My account, with a label per language. For a link elsewhere, a simple CSS class is enough.

SEO

A page worth linking to

Link the page from your privacy policy and your footer, and enter its address in CookieYes so the banner points to it.

Cookies declaration pageback office
Cookies declaration page tab: activation, addresses per language, audit table, button to reopen the banner, introduction text and SEO tags
UI widgetsback office
UI widgets tab: Cookie preferences link in the footer and the customer account, label per language and code to insert by hand

06 - Options

The banner where it belongs

Exclusions, appearance and behaviour, from the back office

Pages without banner

Order confirmation and PDF documents by default, and any shop page you tick.

Groups without banner

For logged-in customers of a chosen group, for example a test account or your shop staff.

Custom CSS

Up to 10 KB of rules to fine-tune the banner appearance beyond the CookieYes settings.

Reload after consent

The page reloads once after the visitor’s choice, so every tag restarts with the right consent.

Debug mode

CookieYes events show in the browser console while you check a setting.

Advanced optionsback office
Advanced options tab: controllers without banner, groups without banner, custom CSS, reload after consent and debug mode

07 - Comparison

The module versus code pasted into the theme

What CookieYes code pasted into the theme gives you, and what the module adds

Comparison of CookieYes code pasted into the theme and the CookieYes module
Code pasted into the themeCookieYes
Survives theme updatesNoYes
First script on the page, on PrestaShop 1.6 to 9Depends on the themeYes
Protected against optimisation modules and Rocket LoaderNoYes
Google Consent Mode v2 by defaultWrite it yourselfYes, in one click
Cookie declaration pageBuild it yourselfYes, per language, with SEO
“Cookie preferences” linkAdd it yourselfFooter and customer account
Pages and customer groups without bannerNoYes
Key test from the serverNoYes
Multistore, one key per shopHandle it yourselfYes

In both cases, the banner design, texts, languages and cookie scan are set in your CookieYes dashboard.

The module provides the consent layer. Your shop’s legal position also depends on an up-to-date privacy policy, contracts with your processors and the handling of your customers’ rights.

08 - Technical

Technical specifications

Built for reliability and multi-version compatibility

PrestaShop
1.6 to 9.x
PHP
5.6 to 8.5
CookieYes account
Required, the free plan is enough to get started
Multistore
Yes, one site key per shop
Languages
French, English, German, Spanish, Italian, Polish
Database
No table created, no native table modified, no visitor data stored
External services
The CookieYes script, from cdn-cookieyes.com
PrestaShop 1.6.0 to 1.6.1.11
File classes/Media.php replaced, original backed up and restored on uninstall
Licence
Banner and options work without a licence; the licence adds the configuration test, alerts and support
Help
Built-in FAQ of 26 questions and PDF documentation

Install CookieYes without touching your theme

The banner, Google Consent Mode, the declaration page and the options work as soon as the module is installed. The licence adds the configuration test, update alerts and priority support.