Hi,
I’ve installed the very popular cookie service Cookiebot, to make a user consent GPDR banner.
But it breaks the website.
History
It worked originally when I installed it on the staging site webflow.io before publishing for real.
Problem
It loads the header and footer but everything else is blank:
It generates warnings but no errors:
Even after accepting cookies it persists.
I have BarbaJS page transitions installed, which means waiting for a second for the page content to load. The IX2 animation is set at opacity 0 and changes to opacity 100. I suspect Cookiebot blocks this somehow which is why the content is gone.
There is no way, though I can tell Cookiebot to allow these scripts to take action before user consent because they’re Webflow’s native scripts.
Also, Cookiebot wants me to put the Cookiebot script as the VERY first script in the head, but this isn’t possible as Webflow only allows me to put code “at the end of the tag:”.
------- TLDR: CookieBot breaks the native Webflow load interaction and I can’t tell it not to.
What I tried to solve it
- I removed all my other custom scripts but the problem persists
- I tried placing the script in the footer and on specific pages instead (CookieBot says it’s to be placed in the head)
- I spoke to Cookiebot support but they tell me to manually add “type=“text/javascript” data-cookieconsent=“ignore”” to all tags that are vital for the website to function. But Webflow’s js stuff isn’t available to edit when hosting with Webflow
I hope there’s something I’m missing and Cookiebot is compatible with Webflow as we’ve purchased an annual plan.
Thanks!