Pressidium Cookie Consent

Açıklama

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.

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

⌨️ 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.

Ekran Görüntüleri

  • General settings
  • Themes and colors
  • Cookie tables
  • Translations
  • Consent modal
  • Settings modal
  • Blocked scripts
  • Consent records

Yükleme

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

SSS

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.

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.

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.

İncelemeler

7 Haziran 2024
After searching for days and days and only finding plugins that use monthly subscriptions and/or are extremely complicated to configure, this is a gem. I tried most of the other plugins (CookieYes, Complianz, Iubenda, CookieFirst,…). They either try to do too much, or they promise all will be auto-configured but not after answering at least 1000 questions. Pressidium takes care of both the cookie consent and Google’s Consent Mode V2. Do mind, you will have to figure out what cookies your website uses and which scripts need to be blocked. This can be quite some work but I did find out that the cookie scanners (Google ‘cookie scanner’ and you’ll find many) do not catch ALL the cookies on your site. So you still will need to go check through Chrome Developer and figure out all cookies one by one. But at least you will not miss any. Don’t forget to check pages with different functionality (embeds etc) to catch more cookies! So this is not a plugin for someone who wants to have it all done without any effort on their side. I felt overwhelmed at first but once you get into it is not so bad. And support is very fast. Highly recommended!!!!!
27 Mayıs 2024
So far, it seems very good to put in a little effort myself. I hope that the plugin will continue to be developed and updated.
10 Nisan 2024
Very good: Free google consent V2 Good: Easily translateable Questionable: Need to manually add all cookies, add regions one by one for the whole world. No automatisation whatsoever. Bad: Added over one second to my largest contentful paint metric causing me to fail core web vitals. –> nt a lightweight solution.
9 incelemeyi oku

Katkıda Bulunanlar ve Geliştiriciler

“Pressidium Cookie Consent” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.

Katkıda bulunanlar

Değişiklik Kaydı

1.4.0: Mar 21, 2023

  • 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