My default cookie behaviour is ‘User must accept and must opt in, only essential cookies selected’.
I have some custom jquery that checks for a cookie (covid_message) and if it is not found displays a modal and sets the cookie. The idea is the user only sees the modal once because when they visit another page the cookie is found and so the modal is not displayed. However, Enfold blocks the cookie (which is technically correct) but this cookie is essential. Is it possible to always allow this cookie?
Many thanks
I don’t think the docs answer my question. I asked how to stop enfold from blocking an essential custom cookie. If this is answered in the docs could you please explain because the docs aren’t clear.
Hi,
Sorry for the delay. Have you tried setting the Enfold > Privacy & Cookies > Cookie Handling Default Cookie Behavior settings to the first option. This option will automatically allow essential and external or third party cookies on page load even without the users’ direct consent to store cookies. You might have to add this information in your cookie or privacy policy page.
Best regards,
Ismael
Thank you. I don’t believe your proposed solution is GDPR compliant so doesn’t address my issue. I think Enfold would benefit from greater control over cookies with an option to define if a custom cookie is essential and therefore prevent Enfold from acting on it.
To solve my issue I switched from using a cookie to sessionStorage. I would prefer more end user control but at least my site now works as expected.
Thanks
Hi,
I’m glad you were able to find a fix. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon