Title: Pressidium Cookie Consent
Author: pressidium
Published: <strong>ژون 19, 2023</strong>
Last modified: دسامبر 9, 2025

---

Search plugins

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

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

# Pressidium Cookie Consent

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

[Download](https://downloads.wordpress.org/plugin/pressidium-cookie-consent.1.9.1.zip)

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

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

## Description

Pressidium Cookie Consent makes it easy to add a stylish, customizable cookie consent
banner to your website and conditionally load third-party scripts (analytics, performance,
targeting, etc.) based on the user-selected preferences to help you comply with 
EU GDPR cookie law, CCPA, and similar regulations.

#### ⚙️ Fully customizable

Easily modify the cookie consent banner and settings modal text. Pick one of the
built-in color presets to match your website’s aesthetic, or adjust the color of
individual components via our convenient color picker. Choose from a variety of 
layouts, positions, and transitions directly from the WordPress dashboard.

#### 🪶 Lightweight

The plugin is built on top of the Cookie Consent JS library by Orest Bida, a standalone
vanilla JavaScript library with no third-party dependencies, that loads blazingly
fast and won’t slow down your website.

#### ♿ Accessible

An a11y friendly plugin — fully accessible and WAI-ARIA compliant.

#### 🌐 Translatable

Modify any text in the cookie consent banner and settings modal, and provide translations.
Choose the language auto-detection strategy you prefer — either read the user’s 
browser language or read the markup of the current page to identify its primary 
language.

#### 📱 Responsive

Fully responsive and mobile-friendly cookie consent banner and settings modal.

#### 🙅 Block scripts

Control which scripts are loaded based on the user’s preferences. List the URLs 
of the scripts you’d like to block (both exact matches and regular expressions are
supported) and prevent them from running until the user has given consent.

#### 🧹 Auto-clear cookies

Automatically delete cookies when a user opts-out of a specific category inside 
cookie settings.

#### ✋ Force consent

Block the user from interacting with the page until they consent to your cookie 
policy.

#### 🔁 Re-consent

Ask users to consent again when you update your cookie policy.

#### 📝 Consent records

Record user consents to be able to provide proof of consent for auditing purposes.

#### 🎛️ Floating settings button

Add a floating settings button to your website that allows users to change their
cookie preferences at any time.

#### 🤖 Hide from bots

Automatically parse the user agent to detect bots, crawlers, and webdrivers. If 
one is detected, you have the option to hide the cookie consent banner from them.

#### 🧩 Google Consent Mode (GCM) integration

Integrate with Google Consent Mode (GCM) to adjust how Google tags behave based 
on the user’s consent preferences. Supports both Google tag (gtag.js) and Google
Tag Manager (GTM) implementations.

#### 🚪 Google tag gateway integration

One-click PHP proxy to quickly route traffic to Google tag gateway for advertisers.

#### ✨ AI integration

Integrate with AI to generate translations and cookie descriptions. Supports both
GPT and Gemini.

#### 🧱 Block for the WordPress Block Editor

Add the **Pressidium Cookies Table** block for the Block Editor to display a dynamic
table listing all cookies under the selected category, making it easy for users 
to understand what cookies are being used on the site.

#### ⌨️ Control it programmatically

Programmatically control the plugin. Conditionally show/hide the cookie consent 
banner and/or the settings modal, accept one (or more) cookie categories, erase 
cookies, load previously blocked scripts, etc.

#### About Pressidium

This is a free and open source WordPress plugin developed by Pressidium®. Pressidium
offers Managed WordPress hosting for web professionals designed to optimize the 
performance, security, and scalability of WordPress websites. With a strong emphasis
on reliability, Pressidium utilizes high-available architecture to ensure your website’s
uptime.

## Screenshots

 * [[
 * General settings
 * [[
 * Font and colors
 * [[
 * Cookie tables
 * [[
 * Translations
 * [[
 * Modals
 * [[
 * Settings modal
 * [[
 * Floating button
 * [[
 * Google Consent Mode
 * [[
 * Google Tag Manager template
 * [[
 * Blocked scripts
 * [[
 * Consent records
 * [[
 * Pressidium Cookies Table block

## Blocks

This plugin provides 1 block.

 *   Pressidium Cookies Table Display a dynamic table listing all cookies under 
   the selected category, making it easy for users to understand what cookies are
   being used on the site.

## Installation

#### Automatic installation

Automatic installation is the easiest option — WordPress will handle the file transfer,
and you won’t need to leave your web browser.

 1. Log in to your WordPress dashboard
 2. Navigate to the “Plugins” menu
 3. Search for “Pressidium Cookie Consent”
 4. Click “Install Now” and WordPress will take it from there
 5. Activate the plugin through the “Plugins” menu on WordPress

#### Manual installation

 1. Upload the entire `pressidium-cookie-consent` folder to the `wp-content/plugins/`
    directory
 2. Activate the plugin through the “Plugins” menu on WordPress

#### After activation

 1. Go to the plugin settings page (Settings -> Cookie Consent)
 2. Customize the cookie consent to your liking
 3. Click “Save” to save your changes

## FAQ

### Is this plugin free?

Yes! This plugin is 100% free and open source.

### Will this plugin make my website GDPR/CCPA compliant?

Yes, the plugin will help you be GDPR and CCPA compliant if you set it right.

### How do I customize the cookie consent banner?

You can customize the cookie consent banner by going to the plugin settings page.
On wp-admin, go to Settings -> Cookie Consent.

### How do I add a cookie consent banner to my website?

Just install and activate the plugin. The cookie consent banner will automatically
be added to your website. You can customize the banner by going to the plugin settings
page.

### Does the plugin automatically scan my website to list the cookies it stores?

No, the plugin doesn’t scan your website. You will have to manually list the cookies
you use. On wp-admin, go to Settings -> Cookie Consent, select the “Cookies” tab
and list all Analytics and Targeting cookies.

### Does the plugin automatically block third-party scripts?

No, the plugin doesn’t automatically block third-party scripts. You will have to
manually list the URLs of the scripts you want to block. On wp-admin, go to Settings-
> Cookie Consent, select the “Block Scripts” tab and list all third-party scripts
you want to block (regular expressions supported).

### Can I integrate this plugin with my WordPress theme/plugin to block any scripts it loads?

Yes. On wp-admin, go to Settings -> Cookie Consent, select the “General” tab and
make sure the “Page Scripts” option is enabled. Then, set the `type` of your scripts
tags to `"text/plain"` and set a `data-cookiecategory` attribute to `"analytics"`,`"
targeting"` or `"preferences"`.

For example, `<script type="text/plain" data-cookiecategory="analytics" src="analytics.
js" defer></script>`

For more information, refer to the [“Blocking scripts” section of our wiki](https://github.com/pressidium/pressidium-cookie-consent/wiki/).

### Can I use the cookie consent plugin programmatically? Are there any other options/features?

For more information about the Pressidium Cookie Consent plugin, refer [to our wiki](https://github.com/pressidium/pressidium-cookie-consent/wiki/).

### Can I export/import the plugin settings?

Yes, you can export/import the plugin settings. On wp-admin, go to Settings -> Cookie
Consent, and use the “Export Settings” and “Import Settings” buttons.

### Does the plugin support Google Consent Mode (GCM)?

Yes, the plugin supports Google Consent Mode (GCM). On wp-admin, go to Settings -
> Cookie Consent, select the “Consent Mode” tab and enable the “Google Consent Mode
v2 (GCM)” option. Then, select either the Google tag (gtag.js) or the Google Tag
Manager (GTM) implementation, and configure it accordingly.

### Why is the cookie consent banner not showing on my website?

Make sure that either the “Autorun” option is enabled on the plugin settings page,
or that you manually call the `pressidiumCookieConsent.show()` method.

### Why are my changes not getting saved?

Make sure you have clicked the “Save” button on the plugin settings page.

### Why does the cookie consent banner keep showing even after I have accepted the cookies?

Make sure you have set the “Cookie Domain” option to the correct domain on the plugin
settings page.

### Where can I report any bugs and/or request additional features?

If you have spotted any bugs, or would like to request additional features from 
the plugin, please [file an issue](https://github.com/pressidium/pressidium-cookie-consent/issues/).

## Reviews

![](https://secure.gravatar.com/avatar/5a86e3ff6d0e3ff036ebce97350eb8763205c079e1a55c2c4686a013051ba8f0?
s=60&d=retro&r=g)

### 󠀁[It just works](https://wordpress.org/support/topic/it-just-works-885/)󠁿

 [peteryak](https://profiles.wordpress.org/peteryak/) آپریل 6, 2026

I tested the top ten plugins and only this one managed to block analytics cookies
for my setup unless the user gives full consent. It also offers consent logs as 
a free feature. Problem solved – kudos to the developers!

![](https://secure.gravatar.com/avatar/861e21636e186935b2bee6c0e4ac556b2407160771205e0af90dd97c6ef7c38c?
s=60&d=retro&r=g)

### 󠀁[Simple the best](https://wordpress.org/support/topic/simple-the-best-25/)󠁿

 [ambri](https://profiles.wordpress.org/ambri/) ژانویه 24, 2026

Great plugin. The detailed documentation is very helpful for setup. Thanks, good
job.

![](https://secure.gravatar.com/avatar/dbb284821044d796abb891024e4b99313ce4ccafe3710eea29fb32335782cde3?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41062/)󠁿

 [holafreak](https://profiles.wordpress.org/holafreak/) نوامبر 21, 2025

I was looking for an alternative solution to many other plugins out there and this
works great. It’s open source and 100% free which is awesome. On top of that, the
developer is very responsive to questions and issues. Thanks for the awesome work.

![](https://secure.gravatar.com/avatar/66b37cc8754cc38a8e15c678549b5dfae72c83e57bd984c74a17930d9ae0d87b?
s=60&d=retro&r=g)

### 󠀁[Excellent with Great Support](https://wordpress.org/support/topic/excellent-with-great-support-7/)󠁿

 [neilross80](https://profiles.wordpress.org/neilross80/) نوامبر 16, 2025

Set up and WP Plugin is straight fwd and well explained. Works well thanks.

![](https://secure.gravatar.com/avatar/a61a5b52e7ee5730a6872439528119bd7744bbfc5b92af7c76518e6f06bcb8df?
s=60&d=retro&r=g)

### 󠀁[Finally a free plugin that works](https://wordpress.org/support/topic/finally-a-free-plugin-that-works/)󠁿

 [jdevreede](https://profiles.wordpress.org/jdevreede/) نوامبر 16, 2025

Having struggled with free plugins without consent log, and payed pluging which 
were still very hard to configure. This is now my favourite. Yes I needed help from
chat GPT, but now my site is fully GDPR proof.

![](https://secure.gravatar.com/avatar/cfffb10df612e63e074f528fffcac76877da566950e96d7fcd54ec1d88de43a3?
s=60&d=retro&r=g)

### 󠀁[Very useful plugin](https://wordpress.org/support/topic/very-useful-plugin-1650/)󠁿

 [John](https://profiles.wordpress.org/jbonello/) اوکتوبر 24, 2025

Very useful cookies plugin that integrates with GTM. 100% open source and no upselling.
Developer is very responsive and helpful. Life-saving plugin 🙂

 [ Read all 36 reviews ](https://wordpress.org/support/plugin/pressidium-cookie-consent/reviews/)

## Contributors & Developers

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

Contributors

 *   [ pressidium ](https://profiles.wordpress.org/pressidium/)
 *   [ overengineer ](https://profiles.wordpress.org/overengineer/)

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

[Translate “Pressidium Cookie Consent” into your language.](https://translate.wordpress.org/projects/wp-plugins/pressidium-cookie-consent)

### Interested in development?

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

## Changelog

#### 1.9.1: Dec 9, 2025

 * Update “Tested up to” version to WordPress 6.9 to confirm compatibility
 * Update allowed AI models to include Gemini 3 Pro Preview

#### 1.9.0: Nov 17, 2025

 * Introduce a server-side PHP proxy to route traffic to Google tag gateway for 
   advertisers
 * Add meta boxes to the settings page to provide links to relevant resources
 * Move log directory to the uploads directory (`wp-content/uploads/pressidium-cookie-
   consent/logs/`)
 * Expose the `pressidium_cookie_consent_logs_path` filter to allow customizing 
   the log file path
 * Convert and display consent record timestamps according to the WordPress timezone(
   instead of UTC)
 * Fix an issue where `pressidium_cookie_consent_get_cookies()` would trigger a 
   warning when no settings existed
 * Fix a couple of a11y issues with the floating button
 * Fix a compatibility issue with the Hello Elementor theme
 * Fix an issue where AI translations were missing the `toggle` property
 * Update allowed AI models (GPT and Gemini integrations)

#### 1.8.1: Oct 16, 2025

 * Fix an issue with the names of the custom events pushed to the data layer for
   Google Tag Manager
 * Revert the modal headings to use `div` instead of `h2` to fix potential SEO issues
 * Remove no longer necessary `load_plugin_textdomain()` (plugins hosted on WordPress.
   org don’t need it)
 * Integrate with Ninja Forms to prevent the cookie consent banner from loading 
   on form previews

#### 1.8.0: May 5, 2025

 * Bump minimum required PHP version to 8.1
 * Integrate with AI — supports GPT and Gemini to generate translations and cookie
   descriptions
 * Introduce the Pressidium Cookies Table block for the WordPress Block Editor (
   also known as Gutenberg)
 * Introduce the `[pressidium_cookie_consent_cookies]` shortcode
 * Expose the `pressidium_cookie_consent_get_cookies()` global function to retrieve
   the cookies list
 * Integrate with WP Consent API
 * Push custom events to the data layer for Google Tag Manager (`pressidium-cookie-
   consent-accepted` and `pressidium-cookie-consent-changed`)
 * Fix JavaScript i18n
 * Fix a warning for an undefined array key when no table version exists during 
   plugin updates
 * Switch description text fields to textareas under the “Translations” tab
 * Wrap the “Domain” column in the cookie settings modal
 * Add a notice to warn users for potential issues with a misconfigured cookie domain
   and/or path
 * Prevent duplicated admin notices
 * Update Composer and npm dependencies

#### 1.7.1: Dec 12, 2024

 * Fix an issue where the floating button was being rendered behind other content
 * Fix an issue where the cookies tab was hidden in the Brave browser
 * Fix an issue where closing the settings modal without saving would cause the 
   necessary cookies toggle to be disabled
 * Update the cookieconsent library to version 2.9.2

#### 1.7.0: Nov 18, 2024

 * Update language codes to be consistent with locale codes used in WordPress

#### 1.6.0: Oct 21, 2024

 * Add new color presets

#### 1.5.2: Sep 7, 2024

 * Fix an issue where settings didn’t automatically migrate from the previous version,
   requiring users to manually save them

#### 1.5.1: Aug 5, 2024

 * Add a notice to warn users for potential issues with specific configurations
 * Add more information to the logs to help with debugging
 * Add the flag of Norway for the Norwegian language (nb-NO)
 * Switch the default value of the “Hide empty categories” option to be disabled
 * Fix an issue where importing settings from older versions would not work correctly
 * Fix an issue where consent recording would always be reported as failed
 * Fix an issue where the “Hide empty categories” wasn’t being applied when previewing
   the modal on the settings page
 * Fix an issue where the necessary cookies were not being listed when previewing
   the modal on the settings page
 * Fix an issue where the consent records table was not being created
 * Fix an issue where the consent records table schema was not being updated correctly

#### 1.5.0: Jul 30, 2024

 * Add a “Font” option to select one of the fonts that you have installed via the
   Font Library (WordPress 6.5+)
 * Add a new “Hide empty categories” option to hide a category if it has no cookies
 * Add a customizable floating button to open the settings modal after the user 
   has given consent
 * Add a new About tab
 * Add a new option for the Norwegian language (nb-NO)
 * Merged the “Consent Modal” and “Settings Modal” tabs into a single “Modals” tab
   to keep the settings page a bit more organized
 * Tabs panel in the settings page is now responsive and will scroll horizontally
   on smaller screens

#### 1.4.0: Mar 21, 2024

 * Introduce a new “Preferences” cookies category
 * Integrate with Google Consent Mode (GCM)
 * Dispatch custom JavaScript events on initial consent and when the user changes
   their consent

#### 1.3.0: Nov 30, 2023

 * Fix an issue where an empty source for a blocked script would cause some scripts
   to not be loaded
 * Remove debugging logs from the console
 * Add options to set a different color for the text when a button is hovered

#### 1.2.2: Nov 29, 2023

 * Wrap Composer dependencies in our own namespace to prevent conflicts with other
   plugins loading the same dependencies in different versions

#### 1.2.1: Nov 6, 2023

 * Check if the table already exists in the database before attempting to create
   it

#### 1.2.0: Oct 2, 2023

 * Add a new Consent Records tab to the settings page to be able to provide proof
   of consent for auditing purposes

#### 1.1.6: Aug 23, 2023

 * Fix an issue where languages with a hyphen in their code were not being detected
   correctly

#### 1.1.5: Aug 22, 2023

 * Improve multilingual support

#### 1.1.4: Aug 21, 2023

 * Fix an issue where the confirmation before leaving the tab was being triggered
   even when there were no unsaved changes

#### 1.1.3: Aug 4, 2023

 * Fix an issue where the “Cookie table headers” setting was not being saved correctly

#### 1.1.2: Jul 27, 2023

 * Add the ability to list necessary cookies
 * Fix emoji decoding to render correctly in text fields and textareas

#### 1.1.1: Jul 25, 2023

 * Fix an issue where the log file could not be created

#### 1.1.0: Jul 25, 2023

 * Add the ability to export, import, and reset settings
 * Add POT file for localization
 * Ask for feedback on plugin deactivation
 * Support emoji even on databases using the `utf8` character set
 * Improve logging
 * Add a new Logs tab to the settings page to help with debugging

#### 1.0.4: Jul 2, 2023

 * Fix a conflict with plugins that use `null` as their admin footer text

#### 1.0.3: Jun 30, 2023

 * Only load blocking script when needed

#### 1.0.2: Jun 27, 2023

 * Fix an issue where the text of the secondary button could not be updated

#### 1.0.1: Jun 19, 2023

 * Update Plugin Directory icons

#### 1.0.0: May 26, 2023

 * Initial version

## Meta

 *  Version **1.9.1**
 *  Last updated **4 آی‌لار ago**
 *  Active installations **10٫000+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 8.1 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/pressidium-cookie-consent/) و [French (France)](https://fr.wordpress.org/plugins/pressidium-cookie-consent/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/pressidium-cookie-consent)
 * Tags
 * [CCPA](https://azb.wordpress.org/plugins/tags/ccpa/)[consent](https://azb.wordpress.org/plugins/tags/consent/)
   [cookie](https://azb.wordpress.org/plugins/tags/cookie/)[cookies](https://azb.wordpress.org/plugins/tags/cookies/)
   [GDPR](https://azb.wordpress.org/plugins/tags/gdpr/)
 *  [Advanced View](https://azb.wordpress.org/plugins/pressidium-cookie-consent/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  34 5-star reviews     ](https://wordpress.org/support/plugin/pressidium-cookie-consent/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/pressidium-cookie-consent/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/pressidium-cookie-consent/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/pressidium-cookie-consent/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/pressidium-cookie-consent/reviews/?filter=1)

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

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

## Contributors

 *   [ pressidium ](https://profiles.wordpress.org/pressidium/)
 *   [ overengineer ](https://profiles.wordpress.org/overengineer/)

## Support

Issues resolved in last two months:

     0 out of 7

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