plugin-icon

Caching Compatible Cookie Opt-In and JavaScript

投稿者: matthias.wagner·
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 …
評価
5/5
バージョン
0.0.11
有効インストール数
20
最終更新日時
Apr 16, 2025
Caching Compatible Cookie Opt-In and JavaScript

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

無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.8.3
このプラグインをダウンロードして、 サイトに使用できます。