The banner does not show
The banner only appears to visitors who have not made a choice yet. If it stays hidden, check these points in order.
Before you look further
The How long before the consent window appears (in ms)? setting holds back the banner on purpose. Wait for this delay before drawing conclusions.
Check in this order #
-
Test in a private browsing window
The visitor's choice is kept in their browser: once you have chosen, the banner does not come back.
Check: open the shop in a private browsing window.
Good to know: if the banner shows there, nothing is broken. To see it again in your usual browser, clear the shop's cookies.
-
Check that the banner is turned on
Check: on the module home page, click the Consent popup configuration tile. In the Configuration tab, Activation and Configuration section, Enable consent banner is turned on.
Fix: turn it on, then click Save. See Set up consent.
-
Check that your IP address is not excluded
Check: in the module, open Settings›IP Exclusion. An address listed here never sees the banner.
Fix: test from another connection, or remove the address if it does not belong there. See IP address exclusion.
-
Check the list of blocked user-agents
The user-agent is the name a browser or a bot gives itself on every page it visits.
Check: in the banner's Configuration tab, the List of User-Agent for which the consent popup should not appear does not contain your browser.
Fix: remove any real visitors' user-agent from this list, then save. See Banner and settings.
-
Check the theme hooks
Check: the theme contains the three hooks
displayAfterTitleTag,displayAfterBodyOpeningTaganddisplayBeforeBodyClosingTag. Without them, the module does not show.Fix: have a developer add the missing hook, in the place given in Install the module.
-
Purge the page cache
Check: the shop uses a full page cache (Varnish, reverse proxy, CDN), which can serve an old version of the pages.
Fix: in the Google Tag Manager tile, turn on Do you use a caching system? and save, then purge the cache. PrestaShop's internal cache does not count for this setting. See Google Tag Manager.
-
Update the module if the shop is in a subfolder
Check: the shop is installed in a subfolder, for example
my-shop.com/shop/, and the module is older than 4.6.0. The version is shown at the bottom of the module's Settings menu.Fix: update the module. Since 4.6.0, the banner loads correctly on a shop in a subfolder. See Update the module.
Check before you continue
- In a private browsing window, the banner shows when you arrive on the shop.
- After a choice, it does not come back, and the reopen button or link lets you change that choice.
Missing or wrong information? Tell the support team