跳到内容

Caching Compatible Cookie Opt-In and JavaScript

v0.0.11

matthias.wagner · 2020年5月8日 上架

Shows an opt-in banner and loads scripts either always or only after opt-in. Provides full compatibility with caching plugins since scripts are loaded …

正在使用
20+
评分
5.0 / 5
累计下载
5,144
最近更新
2026年10月27日
1 条评价需要 WordPress 5.0+已测试到 7.2PHP 7.0+

截图

Various input fields for your scripts
Various input fields for your scripts
Use your individual texts and colors
Use your individual texts and colors
Banner style "Information"
Banner style "Information"
Banner style "Blocking"
Banner style "Blocking"

This lightweight plugin closes the gap between the annoying need for a cookie-banner to opt-in to some scripts (third party tracking, …) and super fast websites enabled by server-side caching plugins like WP Fastest Cache, W3 Total Cache and so on.

It is very simple:
* A visitor makes his selection by clicking the buttons in the cookie banner (use all cookies or use only necessary cookies)
* The selection is stored in a cookie
* Now after every page load our JS checks the cookie and asynchronously fetches the allowed scripts depending on the users selection
* You can also place shortcodes with inline scripts and html in your content with the same functionality and inline-warnings if no optin was made
* You can also place a shortcode to show the visitor his decision and allow him to revoke that decision, which seems necessary if you want to be gdpr compliant with your cookie solution

Our documentation including information on action and filter hooks can be found here

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums