• Resolved dqr79

    (@dqr79)


    I noticed cookiebot wasn’t working properly on my site – when I rejected all cookies, they didn’t get deleted (in fact even more got added). I checked the documentation of the manual installation, where it was stressed that it needs to be the very first script in the head. When I checked my DOM, I noticed there are other scripts in front of it.
    I then checked the code and in cookiebot.php line 190 I found that it’s added with priority -9997 in wp_head. I modified this to priority 0 and it started working. I recommend this priority update to be included in the next release.

Viewing 1 replies (of 1 total)
  • Plugin Author aytac

    (@aytac)

    Hello @dqr79

    Cookiebot plugin doesn’t delete existing cookies, but it does block new cookies.

    Do you know the scripts that were added before the cookiebot script?

    FYI, The number change doesn’t solve the priority issue, because the negative number makes it run sooner.

    Take care,

    Aytac

Viewing 1 replies (of 1 total)
  • The topic ‘Cookiebot script priority in wp_head – update needed’ is closed to new replies.