Block Cookie if user has not consent

[ad_1]

Hi,

thanks for the awesome banner plugin, we use it quite frequently to show important information on the website. Recently I have activated the close button and like how it works.

Unfortunately I have seen, that the cookie is also set (when the close button is clicked) in case the user has not consent to the cookie banner and therefore in setting the simplebannerclosed cookie.

I have the possibility to block scripts in my cookie banner (CookieYes) in case the user has not consent to the respective cookie which is also used for Google analytics, etc..

Is there any way or any script how I can block the setting of the cookie when the user has not consent to it? In general I like the functionality with the cookie so I do not want to remove that completely.

Thanks and kind regards
Greendroid

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer