Cookie Notice
The Cookie Notice plugin shows a consent banner on your site
The Cookie Notice plugin shows a consent banner on your site and holds back the scripts that track visitors until they agree. It is for sites that must ask before analytics or marketing code runs.
It is a plugin: switch it on under Settings > Plugins. Then press Configure on its card.
What the visitor sees #
A banner with Accept and Reject buttons and, if you set one, a link to your privacy page. After they choose, a small Cookies button stays in the corner so they can change their mind. The banner is in the visitor's own language unless you write your own text.
The choice is kept in one cookie in the visitor's own browser. Nothing is stored on your server, and there is nothing to erase.
What is held back #
Scripts that you add yourself wait until the visitor accepts:
- the container added by Tag Manager;
- code in Custom Code snippets;
- any other script a plugin adds to your pages without being part of that plugin's own screens.
Held scripts are kept on the page but do not run. When the visitor presses Accept, they run at once, without reloading. A tracking frame for visitors without JavaScript (such as Tag Manager's noscript frame) and one-pixel tracking images are not shown until the visitor accepts.
Never held back: styles, meta tags, the search-engine data of the SEO plugin, ordinary markup, the plugins' own screens such as the chat button, and the whole admin area.
If a visitor rejects after having accepted, the page reloads and the scripts are held again. Cookies those scripts already set stay in the visitor's browser, so tell visitors how to clear them in your privacy policy.
Settings #
| Setting | What it does |
|---|---|
| Where the banner shows | Public site, public site and client area, or client area only. Never the admin area. |
| Hold back tracking scripts | Off: the banner only informs and every script runs at once. |
| Banner text | Blank uses the standard words in the visitor's language. |
| Accept button, Reject button | Up to 24 characters. The standard words are in the visitor's language. |
| Privacy page | A path such as /privacy, or an https:// address. Blank shows no link. |
| Button colour | Pick a colour, with a live sample. |
| Where on the screen | A bar along the bottom, or a box at the bottom left or right. |
| Remember the choice for this many days | 365 is a year. The visitor is asked again after that. |
Good to know #
- This plugin does not decide what your privacy policy says or which laws apply to you. It gives visitors a choice and keeps scripts from running before they make it.
- A script you need for the site to work, not for tracking, should not be added through Custom Code while this plugin holds scripts back. Put it in your template instead.
- To check it works, open your site in a private window: the banner shows and the scripts do not run until you accept.
Something missing or wrong? Tell us or contact us.