Problem to save cookies in Safari
I made a custom page with cookiebot to save cookies (necessary, marketing,...) and when I call Cookiebot.dialog.submitConsent() in safari don't work.. Do you know what could be?
This issue was caused by multiple event listeners on a custom implementation. It has been solved as a ticket.
From the ticket correspondence:
"The first event listener is automatically hooked unto the button due the the use of the
id: "CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection" by cc.js. The second is added by the
onclickattribute on the script tag.
Due to an invalid argument being passed, the behavior becomes unpredictable. Different browsers will handle this differently, Chrome is known to be less fussy and try to execute to the best of its ability while other will simple refuse to attempt to execute the function. Hence the different behavior i different browsers."
Could you please explain how and where exactly do you call 'Cookiebot.dialog.submitConsent()' function. Usually Cookiebot works on all browsers, including Safari. If you wish you could also share your website so we can take a look at it and help you solve the issue afterwards.
The page is https://www.ivi.es and we added id's in checkboxs in this page https://www.ivi.es/cookie and call the function Cookiebot.dialog.submitConsent() when you click the button. Works fine in all browsers except in Safari.
If you check all checkboxs and click button in safari don't save theses options...
Please sign in to leave a comment.