klaro-js icon indicating copy to clipboard operation
klaro-js copied to clipboard

klaro cookie is not set on Drupal CMS site

Open chrischaplow opened this issue 1 year ago • 0 comments

Hi there,

I am setting up the klaro cookie banner with Google Tag manager. It on a Drupal 9 live website and the banner appears and selections can be made, but no 'klaro' cookie is set. The banner disapears on 'Accept' or 'Deny' but then reappears on page refresh as you would expect if the klaro cookie has not been set.
After cleaning out all domain cookies only ones to appear are __TAG_ASSISTANT and cf_clearance. (cloudflare)

I made a simple copy of my config on another one page html domain website to test and this works fine.

So I assume there is something in the Drupal CMS blocking Klaro from setting the cookie. Does anybody recognize this issues?

or if not, can anybody explain where klaro sets the cookies, and what config option might need changing.

Thanks in advance

Chris

chrischaplow avatar Feb 05 '24 16:02 chrischaplow