Caching Compatible Cookie Opt-In and JavaScript

plugin banner

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 …

Author:Matthias Wagner - FALKEmedia (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.4.2
Plugin version:0.0.10
Added to WordPress repository:08-05-2020
Last updated:27-11-2023
Rating, %:100
Rated by:2
Plugin URI:https://www.falkemedia.at
Total downloads:2 756
Active installs:30+
plugin download
Click to start download

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


Screenshots
FAQ
ChangeLog