About this plugin
cookies +GDPR is a WordPress plugin for managing cookie consent and visitor preferences, designed with the European GDPR and cookie privacy requirements in mind. Visitors can accept, reject, or individually select optional cookie categories.
- Necessary, preferences, analytics, and marketing consent categories.
- Reject all, save selection, and accept all actions.
- Visitors can change or withdraw their consent at any time.
- Optional Google Analytics 4 integration activated according to analytics consent.
- WooCommerce support, including essential shopping-cart and checkout cookies and optional order-attribution controls.
- Editable cookie policy displayed in a modal or on a page; plugin updates do not automatically overwrite a customized policy.
- Configurable colors, typography, layout, and live admin preview.
- Built-in default translations for Czech, Slovak, English, German, Spanish, French, Italian, and Polish.
- Optional, disabled-by-default author credit link.
The plugin helps WordPress site owners manage visitor consent and implement GDPR-oriented cookie controls. Its automatic blocking applies to supported integrations and scripts explicitly configured for its consent categories; scripts independently injected by other plugins, themes, or tag managers must be configured separately.
com and sends analytics events to Google. No GA4 script is loaded by this plugin before acceptance.
External services
Google Analytics 4 (Google LLC) is optional. The plugin does not connect to Google Analytics unless the site administrator configures a valid GA4 Measurement ID and the visitor accepts analytics cookies. com/gtag/js and sends measurement data to Google’s analytics infrastructure.
This can include the visitor’s IP address, browser and device information, page URL, referrer, and interaction/measurement events, as processed by Google. The GA4 Measurement ID is included in the script request. Google may use cookies and similar technologies for analytics as described in its documentation.
If the visitor rejects analytics cookies, this plugin does not load the Google tag library or send GA4 events. Other plugins or themes may independently send data to Google and are not controlled by cookies +GDPR.
com/about/analytics/terms/us/
com/privacy
com/analytics/answer/6004245
cz/ and is disabled by default. cookies +GDPR does not send any data to this site automatically. Clicking the link navigates to the external website.
Source code
js. No build step, compilation, or minification is required to reproduce these files. The plugin includes no bundled third-party JavaScript libraries.
1.6.2 BETA
- Expanded WooCommerce attribution script detection to known handles and filenames. Experimental; site-specific testing required.
- Updated settings heading to cookies +GDPR.
1.6.1 BETA
- Public name: cookies +GDPR; existing jpg-cookie directory, settings and update slug retained for migration.
- Optional WooCommerce Sourcebuster/Order Attribution script deferral until analytics consent, for known WordPress-enqueued handles only.
- Fixed GA4 activation from inadvertently resetting category-specific consent.
- Experimental integration: test WooCommerce order attribution, cart, checkout and caching before production use.
- No automatic universal third-party script blocker; no legal compliance guarantee.
1.6.0
- Volitelné kategorie souhlasu: analytické, marketingové a funkční.
- Google Consent Mode v2 reaguje na jednotlivé kategorie.
- Podpora deklarativně blokovaných skriptů (data-jpgc-category).
- Ukládání voleb po kategoriích, zachování starších rozhodnutí.
- Upozornění: plugin automaticky neblokuje všechny skripty třetích stran; otestujte web.
1.5.6
- Security hardening: validate stored consent timestamps and GA4 identifiers.
- Sanitize stored settings before frontend output and restore bounded number input attributes.
- Translate policy text nodes without replacing the existing policy DOM.
1.5.5
- Make frontend JavaScript source human-readable and document its source availability.
- Correct the WordPress.org contributor username.
- Document the optional Google Analytics external service and its data transfers.
1.5.4
- Align WordPress.org readme metadata with the tested WordPress 7.1 series.
- Set the minimum PHP requirement to 8.1; runtime syntax checks were performed on PHP 8.4 only.
- Preserve the optional background blur and voluntary author credit.
1.5.1
- Public distribution metadata and readme.
- Author credit requires explicit opt-in; previously saved settings do not enable it.
- Disable website-lock overlay, including on upgrades.
- Restrict policy URLs to HTTP(S).
- Avoid flushing the entire WordPress object cache.
- Correct the version shown in the admin UI.