Website loading is slow after installing Cookiebot
I have implemented Cookiebot on my website for a while ago and I noticed, especially for a first time visitor, when the banner appears and I continue to browse my website, the loading on a few elements is being very slow, if not completely hindered.
After allowing all cookies / using necessary cookies only AND reloading the webpage, it then works as normal.
Could you help me with this?
Your help would be very appreciated.
Here's the link to the website.
Cookiebot have nothing to do with the overall site performance (speed) because its only a tool which holds/blocks elements which are setting cookies on the website until the user gives appropriate consent.
The issue you have described could be caused by the fact that Cookiebot is not added as a very first script in the <head> tag of your site and therefore it could not handle all loading resources properly. Please try to add Cookiebot as a first script into the head tag.
thanks for the prompt reply. I do not mean the overall site performance, and I do mean the loading speed of the elements in the website, because before it was very smooth.
I use the Cookiebot plugin, shouldn't it be placing it automatically as the first script in <head>?
OK. I've done a few experiments and if I set cookie blocking mode to AUTO, it will hinder a few element to load in time or loading at all. I tried setting it to MANUAL and now it actually let my website work as it is.
Could you help me to elaborate a little bit what is exactly different in the auto and manual mode? I couldn't really find any clear information on how Cookiebot works differently on both modes, all I find was how to implement Cookiebot is different.
Anyone care to elaborate here?
I also had a problem with my site, with a strange black menu showing for a second on the left side of the screen for all first-time visitors, which is unrelated to the speed problem Indra has.
After reading this, I also switched Automatic to Manual in the plugin settings, and my problem is solved.
However, what are the implications for me with regards to GDPR? What is the manual thing I have to do now related to non-necessary cookies which was automatic before?
The difference between automatic and manual is not so subtle, but automatic will scan EVERYTHING and will prevent a lot of stuff from executing because it THINKS that it will set a cookie.
Manual, on the other hand, will only stop MARKED scripts from running. So, if you haven't marked your e.g. Google Analytics and Facebook Pixel, they will still fire like normal disregarding whether you chose to allow them or not.
I am looking right now for other solution and might try Borlabs because its external media blocker is also very cool. Cookiebot has made my website development a little hell.
You are basically right and the difference between automatic and manual cookie blocking mode is that the Automatic mode will block all cookies except those strictly necessary from being set until a user has given their consent. While the Manual mode will block/hold back only the marked scripts/trackers from being set until a user opt-in/out.
While the manual mode blocks only the marked scripts which means that if the script is not marked it would not be blocked.
However, you can fix this by assigning the
data-cookieconsent="ignore"attribute to the blocked script.
Please sign in to leave a comment.