开发者 |
pressidium
overengineer |
---|---|
更新时间 | 2024年11月19日 00:43 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
pressidium-cookie-consent
folder to the wp-content/plugins/
directoryYes! This plugin is 100% free and open source.
Yes, the plugin will help you be GDPR and CCPA compliant if you set it right.
You can customize the cookie consent banner by going to the plugin settings page. On wp-admin, go to Settings -> Cookie Consent.
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.
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.
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).
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.
For more information about the Pressidium Cookie Consent plugin, refer to our wiki.
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.
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.
Make sure that either the “Autorun” option is enabled on the plugin settings page, or that you manually call the pressidiumCookieConsent.show()
method.
Make sure you have clicked the “Save” button on the plugin settings page.
Make sure you have set the “Cookie Domain” option to the correct domain on the plugin settings page.
If you have spotted any bugs, or would like to request additional features from the plugin, please file an issue.
utf8
character setnull
as their admin footer text