Block Cookie if user has not consent
-
Hi,
thanks for the awesome shop plugin. We have recently added it to out page and are close to the official launch.
For this I am updating the information in our Cookie banner to reflect the Cookies set by WooCommerce.
I used the following webpage to get a summary over all WooCommerce cookies: https://woo.com/document/woocommerce-cookies/I would categorize “woocommerce_cart_hash”, “woocommerce_items_in_cart” and “wp_woocommerce_session_” as a necessary cookie which can be set without consent. The “woocommerce_recently_viewed” I would categorize as optional “advertisment”-cookie. The “store_notice[notice id]” I would categorize as optional functional cookie.
For the functional and advertisement cookie I require a consent of the user within my Cookie Banner (CookieYes) as I am based in germany.
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 these cookies when the user has not consent to it?
Thanks and kind regards
Greendroid
- The topic ‘Block Cookie if user has not consent’ is closed to new replies.