Title: Cookiebot is preventing the JavaScript from loading until the cookie consent pop
Last modified: February 5, 2026

---

# Cookiebot is preventing the JavaScript from loading until the cookie consent pop

 *  Resolved [pawandongoloutside](https://wordpress.org/support/users/pawandongoloutside/)
 * (@pawandongoloutside)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/cookie-bot/)
 * The issue has been resolved by adding the data-cookieconsent=”ignore” attribute
   to the script. We would appreciate clarification on why this occurred, as it 
   was working properly until mid-January and stopped functioning without any plugin
   updates or configuration changes.
    -  This topic was modified 3 months, 3 weeks ago by [pawandongoloutside](https://wordpress.org/support/users/pawandongoloutside/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Hanna](https://wordpress.org/support/users/hannausercentrics/)
 * (@hannausercentrics)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/cookie-bot/#post-18810826)
 * Hi [@pawandongoloutside](https://wordpress.org/support/users/pawandongoloutside/),
   
   Thank you for your message. To help us investigate this matter thoroughly and
   provide you with a precise explanation, could you please submit a [support ticket](https://support.cookiebot.com/hc/en-us/requests/new)
   including the plugin’s debug information? It seems the issue might be related
   to the Autoblocking feature.
 * By opening a support case, we can better understand your setup and address the
   problem more effectively. We appreciate your cooperation and look forward to 
   assisting you further.
 *  Plugin Support [Hanna](https://wordpress.org/support/users/hannausercentrics/)
 * (@hannausercentrics)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/cookie-bot/#post-18810866)
 * Hi [@pawandongoloutside](https://wordpress.org/support/users/pawandongoloutside/),
   
   Update: We were able to locate your ticket in our system and will be providing
   a response there shortly. Thank you for your patience!
 *  [elmando111](https://wordpress.org/support/users/elmando111/)
 * (@elmando111)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/cookie-bot/#post-18813773)
 * I have same issue.. Whole eshop is broken if cookies not accepted, also need 
   extra page reload to get js working.
 *  Plugin Support [Hanna](https://wordpress.org/support/users/hannausercentrics/)
 * (@hannausercentrics)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/cookie-bot/#post-18814871)
 * Hi [@elmando111](https://wordpress.org/support/users/elmando111/) 
   Thank you 
   for your message.
 * A common misconception is that Cookiebot prevents tracking by “intercepting” 
   cookies before consent is given. Technically, this is not how it works. 
 * Cookiebot (and similar CMPs) prevent tracking by blocking the resources that 
   set cookies in the first place. In practice, this means that if a resource (such
   as a WordPress plugin, inline script, or external file) contains code that sets
   cookies, that entire resource may be prevented from loading until consent is 
   given. 
 * Because of this, Cookiebot’s auto-blocking feature can sometimes render a website
   unusable – particularly if a blocked file sets a mix of necessary and non-essential
   cookies (preferences, statistics, or marketing). 
 * You can usually confirm this behavior if the website works normally only after
   accepting a specific combination of cookies. If the site only starts working 
   once all cookies are accepted, and no essential resources appear to be blocked,
   it’s likely that the auto-blocking mechanism itself is causing the issue. 
 * Possible solutions: 
    - Disable auto-blocking and manually mark up elements that utilize non-essential
      tracking instead.
      Here is a guide that describes how you can apply manual 
      mark-up: [https://support.cookiebot.com/hc/en-us/articles/4405978132242-Manual-cookie-blocking](https://support.cookiebot.com/hc/en-us/articles/4405978132242-Manual-cookie-blocking).
    - Identify which cookies are set from an essential file or a CDN that provides
      critically important resources in the scan report, categorize these as “Necessary”,
      and initiate a new scan to update the instructions for the auto blocker.
    - Mark up the critically important resource with `data-cookieconsent="ignore"`​
      to prevent it from being blocked prior consent. Keep in mind that this can
      have repercussions in terms of compliance to data protection legislations 
      or cause reference errors.** Use this option only as a last resort and consider
      manually marking up resources instead.**
 * If none of the above resolves the issue, please raise [a support ticket](https://support.cookiebot.com/hc/en-us/requests/new)
   so we can investigate your case more specifically. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcookie-bot%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/cookiebot/assets/icon.svg?rev=3200631)
 * [Cookiebot by Usercentrics - Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode](https://wordpress.org/plugins/cookiebot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookiebot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookiebot/)
 * [Active Topics](https://wordpress.org/support/plugin/cookiebot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookiebot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookiebot/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Hanna](https://wordpress.org/support/users/hannausercentrics/)
 * Last activity: [3 months, 2 weeks ago](https://wordpress.org/support/topic/cookie-bot/#post-18814871)
 * Status: resolved