I recently implemented cookiebot on a wordpress website.
I just wrote some simple jquery on a page that appends a field to a form when it is submitted:
jQuery(this).append("<just some input field>");
The weird thing is if I enable all cookies on the site, using cookiebot, the jQuery cannot find my form...
If I disable any category of cookies (like marketing or statistics), the jQuery works fine and can find the form.
I tried going through every cookie one by one to see if enabling/disabling it was causing the problem, but none of them did.
I also tried disabling just the category "preferences", of which we don't have any cookies labeled as such. When disabling this category, the jQuery works fine and can find the form.
The problem only occur when all cookies are enabled in cookiebot...
Any idea what could be causing the problem?
Is there some change to cookiebot when enabling all cookies, that could be causing this issue?
EDIT: I get no errors about Cookiebot blocking any scripts, so it does not seem that that would be the issue
Please sign in to leave a comment.