Cookies and Content Security Policy
Be fully GDPR and CCPA compliant through Content Security Policy. Blocks cookies and unwanted external content.
Next Milestone 20K
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Rank Changes
Downloads Growth
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
Tracked Keywords
Showing 5 of 5| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| cookie bar | 21 | — | Tag | 18 hours ago |
| CCPA | 23 | — | Tag | 18 hours ago |
| content security policy | 24 | — | Tag | 18 hours ago |
| cookies | 36 | — | Tag | 18 hours ago |
| GDPR | 107 | — | Tag | 18 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Support Threads Overview
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 2.35
- Last Updated
- Jan 16, 2026
- Requires WP
- 5.0+
- Tested Up To
- 6.9
- PHP Version
- 7.4 or higher
- Author
- Johan Jonk Stenström
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 4.9
- Reviews
- 66
- Support Threads
- 3
- Resolved
- 67%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowFrequently Asked Questions
Common questions about Cookies and Content Security Policy
In other cases it could be your cache plugin (for example Litespeed cache does this), then just review your settings. Read more in the next question in the FAQ that is all about cache plugins.
If you're using static page cache that doesn't go through php, go to Settings > Cookies and Content Security Policy > Settings and check Use meta under Advanced settings.
I'm using a cache plugin, and it seems to be interfere with this plugin
Review the settings of you cache plugin.
Examples:
Litespeed cache, go to WP Admin > LiteSpeed Cache > Advanced, scroll down to "Vary Cookies" and enter cookies_and_content_security_policy and save your changes.
Hummingbird, go to WP Admin > Hummingbird > Caching, scroll down to "Exclusions" and in "Cookies" enter cookies_and_content_security_policy and save your changes.
WP Fastest Cache, go to WP Admin > WP Fastest Cache > Exclude, scroll down to "Exclude Cookies" and click "Add New Rule" and enter cookies_and_content_security_policy and save.
https://abliva.com/ - Transladed strings in Polylang, works in the same way with WPML
https://www.ascelia.com/ - Transladed strings in Polylang, works in the same way with WPML
https://alligatorbioscience.se/en/ - Transladed strings in Polylang, works in the same way with WPML
https://oddoneout.se/en/ - Transladed strings in Polylang, works in the same way with WPML
In Swedish
https://studiocanalis.se/
https://yogajona.se/
https://handelskammaren.com/
https://careon.se/
https://bostadsbevaka.se/
Is the plugin responsive?
Yes.
Is the plugin translatable?
Yes, all texts are translatable. There are 10+ languages already translated. And if you want to contribute with a translation of your own language, please do! <3 All texts on the front end can be changed directly in the admin. And if you are using WPML, Polylang, or some other multilanguage plugin, there is also support for multilanguage translations.
How do I translate in WPML?
Make sure you have "WPML String Translation" installed.
Go to Settings > Cookies and Content Security Policy > Texts and save your texts.
Go to WPML > String Translation.
Search for "cacsp_" (without quotes).
Click the plus sign to add translation.
If you have a string named "cacsp_option_settings_policy_link", the value is a number. It is the ID of the Cookie policy page. Translate this by entering the ID of the cookie policy page in the language you are translating to.
In the WordPress admin bar, choose "Show all languages".
Go to Languages > Strings translations.
In the "View all groups" dropdown, choose cookies-and-content-security-policy, and click "Filter".
Translate your texts in the form.
If you have a string named "cacsp_option_settings_policy_link", the value is a number. It is the ID of the Cookie policy page. Translate this by entering the ID of the cookie policy page in the language you are translating to.
Can I change the look of it?
Yes, there are settings for using a modal or a banner. Also you can choose if the site should be locked behind the modal or if the site should be usable without setting your preferences. You can also change the colors of everything. And if you want you can disable the css entirely and use your own.
Does it include a cookie policy page?
No, but you can make your own, and in the settings you can select it and the modal won't show there so that the user can read it without accepting first.
What if the user wants to change their settings?
You can add a link anywhere on your site that links to #cookiesAndContentPolicySettings and clicking that will open the settings.
Are the css and js files minified?
Yes, but you also get them unminified and the css also comes as SASS so you can change anything.
Can I bypass the plugin for testing purposes?
Yes, just add the querystring ?cacsp_bypass=true to your url, when running speedtest in Gmetrix for instance. It will set a session cookie that accepts all Domains you've set.
You can also bypass all visitors by IP address(es) to avoid consent for testing tools or your office.
Does it work with page builders?
Yes! Not all are tested, but all tested works!
These have been tested:
Divi
Beaver Builder
WPBakery Page Builder
Elementor
Does it support Google Consent Mode v2?
Yes, it does! You can activate it in Settings > Cookies and Content Security Policy > Settings > Advanced settings > Enable Google Consent Mode v2
Does it save the consent data?
Yes, if you go to Settings and check "Save proof of consent". The consent data is saved in the database table "your_prefix" + "cacsp_consent". By default, the prefix is "wp_", so in most cases the table is named "wp_cacsp_consent".