Title: Script blocker doesn&#8217;t block URL
Last modified: August 16, 2026

---

# Script blocker doesn’t block URL

 *  Resolved [MrMattEastwood](https://wordpress.org/support/users/mrmatteastwood/)
 * (@mrmatteastwood)
 * [2 weeks, 1 day ago](https://wordpress.org/support/topic/script-blocker-doesnt-block-url/)
 * Hello, Complianz team,
 * I set up the Script Blocker to block contents from app.calendarapp.de on [https://www.hofreitelorsbach.de/buchungskalender-appartement-haupthaus](https://www.hofreitelorsbach.de/buchungskalender-appartement-haupthaus)
   and [https://www.hofreitelorsbach.de/buchungskalender-appartement-scheune](https://www.hofreitelorsbach.de/buchungskalender-appartement-scheune/).
   Screenshot:
 * [https://www.pasteboard.co/kQqiG6Jk6hBV.png](https://www.pasteboard.co/kQqiG6Jk6hBV.png)
 * It doesn’t block those contents, though:
 * [https://www.pasteboard.co/vPckxORhiTUE.png](https://www.pasteboard.co/vPckxORhiTUE.png)
 * What am I missing?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscript-blocker-doesnt-block-url%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Antonio Candela](https://wordpress.org/support/users/antoiub/)
 * (@antoiub)
 * [1 week, 5 days ago](https://wordpress.org/support/topic/script-blocker-doesnt-block-url/#post-18997369)
 * Hi [@mrmatteastwood](https://wordpress.org/support/users/mrmatteastwood/) ,
 * Thanks for the screenshots and the description. The way you’ve set up the Script
   Blocker is correct, but there’s one key piece missing that’s preventing it from
   applying.
 * A block assigned to the **Marketing** category can only work if the Marketing
   category actually exists in your configuration. Marketing only appears once you
   have **at least one service selected under Wizard → Consent → Services**. If 
   nothing is enabling the Marketing category, the block has no category to attach
   to, so it simply doesn’t fire. So the first step is:
    1. Go to **Wizard → Consent → Services** and make sure at least one service is 
       selected, so the Marketing category is present.
 * Second, in the Script Blocker rule itself, please enter the **full URL** rather
   than just the domain:
 * `https://app.calendarapp.de/loadcal.php`
 * That’s the actual resource being loaded, and matching it exactly is what lets
   the blocker catch it.
 * If the script still slips through after that (some embeds load in a way that’s
   harder to intercept), the reliable solution is to wrap the iframe in a **Consent
   Area Block**, which prevents the iframe from loading entirely until the user 
   gives consent. You can follow the official guide here: [https://complianz.io/gutenberg-block-consent/](https://complianz.io/gutenberg-block-consent/).
 * For the actual HTML structure to use, you can reference the example shared in
   this support thread, which covers a very similar case: [https://wordpress.org/support/topic/unable-to-block-iframe-2/](https://wordpress.org/support/topic/unable-to-block-iframe-2/).
 * I hope this helps.
 * Best regards,
   Antonio
 *  Thread Starter [MrMattEastwood](https://wordpress.org/support/users/mrmatteastwood/)
 * (@mrmatteastwood)
 * [1 week, 5 days ago](https://wordpress.org/support/topic/script-blocker-doesnt-block-url/#post-18997466)
 * Hey Antonio, that solved it. Thanks so much!

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-blocker-doesnt-block-url%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz GDPR/CCPA Cookie Consent Banner](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [MrMattEastwood](https://wordpress.org/support/users/mrmatteastwood/)
 * Last activity: [1 week, 5 days ago](https://wordpress.org/support/topic/script-blocker-doesnt-block-url/#post-18997466)
 * Status: resolved