• Resolved zeko5851

    (@zeko5851)


    Hi,

    I have noticed that shopping features of my website are disabled if no “Functional” cookies are accepted. Is there any way to show disclaimer in those cases? Item cannot be added to cart and no user feedback is provided in those cases. Thank you

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @zeko5851,

    Greetings from CookieYes!

    The wp_woocommerce_session_* cookie in your Functional category has the script URL pattern: “plugins/woocommerce”. Since this cookie is set by woocommerce plugin, all the scripts added by woocommerce plugin will be blocked prior to consent.

    To show a disclaimer, you can use?getCkyConsent() function to access consent data of the user any time and show the disclaimer while functional category is not accepted.

    To track the user’s banner interactions, you can use the CookieYes Events on Cookie Banner Interactions.

    Thread Starter zeko5851

    (@zeko5851)

    Hi,

    Thank you for you answer. I just changed this cookie category to mandatory. Is that a good solution?

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @zeko5851,

    While moving cookies to Necessary category, please make sure that it doesn’t store any personal information of the visitors. Also consider seeking legal advice to ensure you’re meeting your obligations under GDPR and other relevant regulations.

    Thread Starter zeko5851

    (@zeko5851)

    Hey. I believe it does store personal information. What is the code to show diclaimer if functional cookies are not accepted?

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @zeko5851,

    Please try the below code snippet to add the disclaimer:

    <script>
    document.addEventListener("cookieyes_consent_update", function (eventData) {
    	const data = eventData.detail;
    	if (data.rejected.includes("functional")) {
    		// show disclaimer
    	} else {
    		//hide disclaimer
    	}
    });
    </script>
    Thread Starter zeko5851

    (@zeko5851)

    Hi @cookieyes Team,

    Thank you for the reply.

    Is there a function to trigger “show disclaimer” or?

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @zeko5851,

    We don’t have any in-built function to show disclaimer in this case.

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @zeko5851,

    This thread has been inactive for a bit, so we are going to mark it as resolved now. Please feel free to open a new thread or follow-up if you have any further questions or still need help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Blocked content’ is closed to new replies.