Website loading is slow after installing Cookiebot

Comments

6 comments

  • Hi Indra,

    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.

    Regards,
    Spas

    0
    Comment actions Permalink
  • Avatar
    Made Indrayana

    Hi Spas,

    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>?

    Best,

    Indra

    0
    Comment actions Permalink
  • Avatar
    Made Indrayana

    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.

    Regards,

    Indra

    0
    Comment actions Permalink
  • Avatar
    Vladimir Kotselov

    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?

    Regards,

    Vladimir

    0
    Comment actions Permalink
  • Avatar
    Made Indrayana

    I know now what's happening. Cookiebot on automatic mode will disable a whole lot of javascript until you allow to accept all. But then, the javascripts are not going to be executed until you reload the page...

    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.

    Best, Indra

    0
    Comment actions Permalink
  • Hi Indra,

    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.

    The reason why the automatic mode blocks a whole lot of javascript until you allow to accept cookies could be because all/most scripts are in the same file and one or more of those scripts are setting cookies. The Cookiebot scanner detects that, and therefore blocks the entire file. This means that all functions within the file are blocked, not just the ones that set cookies.
    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. 

    Regards,
    Spas

    0
    Comment actions Permalink

Please sign in to leave a comment.