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?
Here are the docs for you:
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.
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.
The topic ‘Possible to allow custom essential cookie?’ is closed to new replies.