Title: JPG Cookie
Author: JPGotye
Published: <strong>October 14, 2026</strong>
Last modified: October 14, 2026

---

Search plugins

![](https://ps.w.org/jpg-cookie/assets/banner-772x250.png?rev=3747226)

![](https://ps.w.org/jpg-cookie/assets/icon-256x256.png?rev=3747226)

# JPG Cookie

 By [JPGotye](https://profiles.wordpress.org/jpgotye/)

[Download](https://downloads.wordpress.org/plugin/jpg-cookie.1.5.5.zip)

 * [Details](https://wordpress.org/plugins/jpg-cookie/#description)
 * [Reviews](https://wordpress.org/plugins/jpg-cookie/#reviews)
 *  [Installation](https://wordpress.org/plugins/jpg-cookie/#installation)
 * [Development](https://wordpress.org/plugins/jpg-cookie/#developers)

 [Support](https://wordpress.org/support/plugin/jpg-cookie/)

## Description

JPG Cookie displays a consent banner with Accept and Reject actions, a cookie policy
dialog or page, and a settings button to change the decision later. The plugin can
optionally load Google Analytics 4 after consent.

 * Optional GA4 integration; enter your own GA4 Measurement ID.
 * Built-in default banner translations for Czech, Slovak, English, German, Spanish,
   French, Italian, and Polish.
 * Custom text is not machine-translated.
 * Configurable appearance and live admin preview.
 * Optional, **off by default**, public author credit link to jpgweb.cz.

**Important:** JPG Cookie does not automatically block analytics or marketing scripts
inserted by other plugins, themes, or tag managers. Remove or configure those separately.
The plugin does not guarantee legal compliance. Review your cookie policy and obtain
legal advice as appropriate.

**Third-party service:** When GA4 is enabled and a visitor accepts analytics cookies,
the plugin loads Google’s `gtag.js` script from `www.googletagmanager.com` and sends
analytics events to Google. No GA4 script is loaded by this plugin before acceptance.
Review Google’s privacy documentation and applicable terms before enabling the integration.

### 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. After acceptance, the visitor’s browser
downloads the Google tag JavaScript library from `https://www.googletagmanager.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
JPG Cookie.

Google Analytics Terms of Service: https://marketingplatform.google.com/about/analytics/
terms/us/
 Google Privacy Policy: https://policies.google.com/privacy Google Analytics
data safeguards: https://support.google.com/analytics/answer/6004245

The optional author credit is a normal hyperlink to `https://www.jpgweb.cz/` and
is disabled by default. JPG Cookie does not send any data to this site automatically.
Clicking the link navigates to the external website.

### Source code

The complete human-readable JavaScript source code is included in `assets/front.
js` and `assets/admin.js`. No build step, compilation, or minification is required
to reproduce these files. The plugin includes no bundled third-party JavaScript 
libraries.

## Installation

 1. Upload the ZIP through Plugins > Add New > Upload Plugin.
 2. Activate JPG Cookie.
 3. Configure it under Settings > JPG Cookie.
 4. Verify consent behavior in a private browser window and review any existing tracking
    scripts.

## FAQ

### Does this block every tracking script?

No. It controls only its own optional GA4 loader.

### Can visitors reject analytics?

Yes. Visitors can reject analytics and later change their choice.

### Is the author link required?

No. It is disabled by default and only shown after explicit opt-in by the site administrator.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“JPG Cookie” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ JPGotye ](https://profiles.wordpress.org/jpgotye/)

“JPG Cookie” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/jpg-cookie/contributors)
for their contributions.

[Translate “JPG Cookie” into your language.](https://translate.wordpress.org/projects/wp-plugins/jpg-cookie)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/jpg-cookie/), check
out the [SVN repository](https://plugins.svn.wordpress.org/jpg-cookie/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/jpg-cookie/) by 
[RSS](https://plugins.trac.wordpress.org/log/jpg-cookie/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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.

## Meta

 *  Version **1.5.5**
 *  Last updated **4 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 8.1 or higher **
 *  Languages
 * [Czech](https://cs.wordpress.org/plugins/jpg-cookie/) and [English (US)](https://wordpress.org/plugins/jpg-cookie/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/jpg-cookie)
 * Tags
 * [analytics](https://wordpress.org/plugins/tags/analytics/)[consent](https://wordpress.org/plugins/tags/consent/)
   [cookies](https://wordpress.org/plugins/tags/cookies/)[GDPR](https://wordpress.org/plugins/tags/gdpr/)
   [privacy](https://wordpress.org/plugins/tags/privacy/)
 *  [Advanced View](https://wordpress.org/plugins/jpg-cookie/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/jpg-cookie/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/jpg-cookie/reviews/)

## Contributors

 *   [ JPGotye ](https://profiles.wordpress.org/jpgotye/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/jpg-cookie/)