• Resolved itheta

    (@itheta)


    Hi I’m wondering if the plugin is GDPR compliant. I can see the plugin sets a cookie. I’m wondering if I have to block it before the user gives consent. If that’s true how can I disable the plugin functionality till the user gives consent. (I’m using the Cookie Notice Plugin)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    the plugin provides tools for the site admin, to help him/her compile privacy policy and provide/delete personal informations upon request
    Anyway, crucially, it is up to the site to be GDPR compliant

    Regarding the session cookie, it does not store personal info, but could be considered as a tracking cookie, so you must acquire consent from the customer before setting it
    This is not something specifically implemented by our plugin, but there are many plugins on wp.org that will help you both with consent and with cookie block when user refuses site’s Cookie Policy (I cannot find your specific plugin, but a common choice is GDPR Cookie Consent)

    Thread Starter itheta

    (@itheta)

    I’m using the Cookie Notice for GDPR & CCPA plugin. Just like the one you suggested it has a field to enter code that sets the cookies you want to be set after user consent is given.

    What is this code for your plugin and how do I remove it from everywhere else?

    • This reply was modified 4 years, 2 months ago by itheta.
    Plugin Author YITHEMES

    (@yithemes)

    Hi again

    Standing to your plugin documentation, you just need to add the following code at the end of functions.php file of your theme or child

    if ( ! function_exists( 'yith_wcwl_set_cookie_on_consent' ) ) {
    	function yith_wcwl_set_cookie_on_consent( $set ) {
    		if ( function_exists( 'cn_cookies_accepted' ) && ! cn_cookies_accepted() ) {
    			return false;
    		}
    
    		return $set;
    	}
    }
    add_filter( 'yith_wcwl_set_session_cookie', 'yith_wcwl_set_cookie_on_consent', 10, 1 );
    

    This will prevent wishlist plugin from setting its cookie, in case user didn’t yet accepted cookie policy
    Anyway, I didn’t tested this code on my installation, so be sure to test it on a staging environment before going live

    Thread Starter itheta

    (@itheta)

    Works like a charm!

    Thanks, I really appreciate your support!

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome!

    If you enjoy our plugin, don’t forget to leave us a 5 star review, to support us and help our work
    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is the plugin GDPR compliant’ is closed to new replies.