=== Caching Compatible Cookie Opt-In and JavaScript === Contributors: matthias.wagner Donate link: https://www.matthias-wagner.at Tags: cookie, optin, opt-in, dsgvo, gdpr, caching, cache, fastest cache, total cache, autoptimize, asynchronous, javascript, speed, performance Requires at least: 5.0 Requires PHP: 7.0 Tested up to: 5.4 Stable tag: 0.0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html 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 asynchronous with JavaScript. == Description == This lightweight plugin closes the gap between the annoying cookie-banner and necessary 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 == Installation == = 1. Plugin Installation = 1. Upload plugin-folder to your "/wp-content/plugins/" directory. 2. Activate the plugin through the Plugins-menu in WordPress. = 2. Plugin Setup = Scripts-Tab: Fill in the scripts you would like to execute Settings-Tab: Choose your custom wording and styling == Frequently Asked Questions == = Why another cookie notice plugin? = Many popular Cookie-Notice-Plugins will fail if you try to set them up together with server-side caching plugins. That is because they check the opt-in cookie in PHP, which will cached. This lightweight plugin works differently, since the whole logic happens in JavaScript. So everything can be cached server-side without any troubles for the opt-in process. = Why so many input fields? = This plugin will put your JavaScript code into the or section of your website. For each section you can decide if you want to have code there all the time or only after opt-in. So this can be used as an all-in-one solution for placing website-wide JavaScript used for tracking and so on in your website. Since this is done after page load it will also have a good impact on website speed. = What about multilingual sites? = So far we only support polylang. If you use polylang, you can translate the strings which will be visible in the banner in the "Strings translations" settings from polylang. = Do you have further questions? = We will do our best to answer them in the support threads. == Screenshots == 1. Various input fields for your scripts 2. Use your individual texts and colors 3. A little about-page == Changelog == = 0.0.4 = * Bugfix button style = 0.0.3 = * Initial public release