Title: Script Blocking Has No Effect
Last modified: June 21, 2026

---

# Script Blocking Has No Effect

 *  Resolved [mohobook](https://wordpress.org/support/users/mohobook/)
 * (@mohobook)
 * [2 weeks, 5 days ago](https://wordpress.org/support/topic/script-blocking-has-no-effect/)
 * Thank you for contributing a useful, user-friendly plugin
 * Unfortunately, the most important feature does not work for me, i.e. script blocking
 * When the page loads, I see the consent banner but when I view the page source,
   I can see the entire script for Google Analytics
 * To make matters worse, even if I Reject the cookies, the script still exists 
   in the source code
 * This not only happens with Google Analytics but also Matomo
 * Your guidance is appreciated

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

 *  Plugin Support [markomiljanovic](https://wordpress.org/support/users/markomiljanovic/)
 * (@markomiljanovic)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/script-blocking-has-no-effect/#post-18948987)
 * Hi [@mohobook](https://wordpress.org/support/users/mohobook/),
 * Thank you for reaching out, and I’m happy to help.
 * What you’re seeing is most likely due to Google Consent Mode v2, which WPConsent
   has enabled by default. Could you check whether it’s turned on under WPConsent’s
   settings?
 * With Consent Mode on, Google Analytics is intentionally allowed to load rather
   than being fully blocked. Instead of removing it, the plugin tells Google not
   to set any cookies or track the visitor until consent is given, using Google’s
   official consent signals. This is the recommended, which is why the GA script
   still appears in your source before consent and after clicking Reject.
 * If you’d prefer GA to be fully blocked instead, just turn off Google Consent 
   Mode in WPConsent’s settings.
 * More on Consent Mode here:[https://wpconsent.com/docs/understanding-ga4-traffic-drops-when-using-google-consent-mode/](https://wpconsent.com/docs/understanding-ga4-traffic-drops-when-using-google-consent-mode/).
 * Let me know if I can help with anything else.
 * Thanks,
 *  Thread Starter [mohobook](https://wordpress.org/support/users/mohobook/)
 * (@mohobook)
 * [5 days, 3 hours ago](https://wordpress.org/support/topic/script-blocking-has-no-effect/#post-18956085)
 * Thank you
    -  This reply was modified 5 days, 2 hours ago by [mohobook](https://wordpress.org/support/users/mohobook/).

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

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

 * ![](https://ps.w.org/wpconsent-cookies-banner-privacy-suite/assets/icon-256x256.
   png?rev=3232030)
 * [WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance (GDPR / CCPA / EU Compliance Cookie Notice)](https://wordpress.org/plugins/wpconsent-cookies-banner-privacy-suite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpconsent-cookies-banner-privacy-suite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpconsent-cookies-banner-privacy-suite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpconsent-cookies-banner-privacy-suite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpconsent-cookies-banner-privacy-suite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpconsent-cookies-banner-privacy-suite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mohobook](https://wordpress.org/support/users/mohobook/)
 * Last activity: [5 days, 3 hours ago](https://wordpress.org/support/topic/script-blocking-has-no-effect/#post-18956085)
 * Status: resolved