JuiceNet GDPR
Cookie consent banner, prior blocking of non-essential services, consent log and ready-made privacy and cookie policy pages.
Install in
- Cookie banner with consent by category (statistics, marketing, embedded content) and by single service, equal-weight Accept and Decline buttons, accessible preferences panel.
- Services ticked in the admin page are blocked until consent: scripts and iframes in the page and those added later by other scripts (for example Google Tag Manager). Works with page cache. Sends Google Consent Mode v2 signals.
- Consent log with search and CSV export, as proof of consent.
- Privacy and cookie policy pages in Italian and English, filled in from the plugin settings, with the cookie table and the list of third-party providers.
- Colours, layout and font from the admin page; every detail can be styled from the theme with CSS variables (see docs/DESIGN.md and the “Style for designers” admin page).
Compatibility: WordPress 5.0 or later (tested up to 7.1), PHP 7.4 or later (tested on PHP 7.4 to 8.6, no warnings with E_ALL).
Privacy and external services
The plugin does not send any data to its authors or to other services.
- Consent log. When a visitor makes a choice on the banner, the plugin stores in a table of the site’s own database: date and time, the choice and the accepted services, a random consent identifier, the policy version, the anonymised IP address, the browser and the page. Entries are deleted automatically after 24 months (filter
juicenet_gdpr_consent_log_retention_months). The purpose is to prove consent, as required by the GDPR. - Cookies set by the plugin.
cc_cookie(technical, 365 days) remembers the visitor’s choice and the consent identifier. - Google Analytics. Only if a Google Analytics ID is entered in the admin page, and only after the visitor accepts statistics, the plugin loads
gtag.jsfrom Google (www.googletagmanager.com) and sends the page view to Google Analytics. Google’s privacy policy: https://policies.google.com/privacy and terms: https://policies.google.com/terms - The services ticked in the admin page (for example YouTube or Meta Pixel) are added to the site by the site owner, not by the plugin; the plugin only blocks them until consent.
Source code
The bundled cookie banner library is distributed compiled (vendor/vanilla-cookieconsent/cookieconsent.umd.js); its readable source code is included in vendor/vanilla-cookieconsent/source/ and available at https://github.com/orestbida/cookieconsent (tag v3.3.0). Build instructions are in vendor/vanilla-cookieconsent/VERSION.txt.
Credits
The cookie banner uses vanilla-cookieconsent 3.3.0 by Orest Bida (https://github.com/orestbida/cookieconsent), released under the MIT License. The library and its licence are in vendor/vanilla-cookieconsent/.
Written by Joobi from the project's own listing. See the source page
1.2.4
- New service Revive Adserver (Marketing): the ads of any Revive Adserver (asynchronous JavaScript tag, JavaScript tag and iframe tag) and its OAID cookie are blocked until consent; ad spaces show the blocked content placeholder and ads appear as soon as Marketing is accepted, without reloading the page.
1.2.3
- Google Maps written by hand (e.g. in a Divi Code module, inline script using google.maps): the script waits for Google Maps to be ready after consent, and the #map_canvas element shows the placeholder before consent.
- Blocked scripts printed in the footer after the banner (e.g. the Google Maps script of the Divi Map module) are now activated after consent: the banner starts when the page is complete.
1.2.2
- Divi Map module with Google Maps: placeholder before consent, and the map is shown as soon as Google Maps is accepted (Divi draws it only once, when the page loads).
- Banner buttons and text follow the site language when they were left at the default text (they were saved in the language of the admin page).
- New setting for the privacy and cookie pages: untick “Show the plugin text on this page” to keep a page written by the site; the plugin only links to it.
1.2.1
- Cookie policy: the categories are described in general terms; legal basis for cookies (Art. 122 of the Italian Privacy Code, Art. 6(1)(a) GDPR, Italian DPA cookie guidelines of 10 June 2021).
- Privacy policy: transfers to the United States based on the EU-US Data Privacy Framework or standard contractual clauses.
- Cookie table: _gid and _gat* listed with the other Google Analytics cookies.
- “Last updated” date of the policies calculated for each site from the plugin texts and the policy settings.
- Space between the end of the policy and the site footer (CSS variable –jg-policy-space-bottom).
- Banner links are no longer always underlined: they are bold and underlined on hover.
1.2.0
- New cookie banner (vanilla-cookieconsent 3.3.0, replaces Osano cookieconsent) with consent by category and by service.
- Prior blocking of the ticked services, also with page cache and for scripts added by other scripts; Google Consent Mode v2.
- Consent log with admin page and CSV export.
- New privacy and cookie policy texts (Italian and English) generated from the settings.
- Design options in the admin page, “Style for designers” page and CSS variables for themes (docs/DESIGN.md).
- Security hardening, PHP 8 compatibility, Italian translation.
1.1.2
- Bug fixes.
1.1.1
- Bug fixes.
1.1.0
- Accept / Decline banner based on Osano cookieconsent.
1.0.3
- Google reCAPTCHA description.
1.0.2
- Option to show or hide the banner.
1.0.1
- Bug fixes.
1.0
- First release.
1.2.0
- New cookie banner (vanilla-cookieconsent 3.3.0, replaces Osano cookieconsent) with consent by category and by service.
- Prior blocking of the ticked services, also with page cache and for scripts added by other scripts; Google Consent Mode v2.
- Consent log with admin page and CSV export.
- New privacy and cookie policy texts (Italian and English) generated from the settings.
- Design options in the admin page, “Style for designers” page and CSS variables for themes (docs/DESIGN.md).
- Security hardening, PHP 8 compatibility, Italian translation.
1.1.2
- Bug fixes.
1.1.1
- Bug fixes.
1.1.0
- Accept / Decline banner based on Osano cookieconsent.
1.0.3
- Google reCAPTCHA description.
1.0.2
- Option to show or hide the banner.
1.0.1
- Bug fixes.
1.0
- First release.
Follow this listing's changes (Atom feed)