---
title: "How to block resources (Google Maps, Fonts, Youtube, etc) content until user's consent"
slug: "how-to-block-resources-google-maps-fonts-youtube-etc-content-until-users-consent"
updated: 2025-07-17T12:16:39Z
published: 2025-07-17T13:18:21Z
canonical: "docs.bigid.com/how-to-block-resources-google-maps-fonts-youtube-etc-content-until-users-consent"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bigid.com/llms.txt
> Use this file to discover all available pages before exploring further.
# How to block resources (Google Maps, Fonts, Youtube, etc) content until user's consent
In this article, we will show you **how to block resources as Google Maps, Google Fonts, Youtube and Vimeo until user's consent.**
The first step to block this from our platform is to go to the **Side menu > Cookie Banner > Advanced Settings** and activate the checkbox that says "Block resources until user's consent" (**This will be disabled by default, so you just need to monitor it**).

By enabling this option, when the page containing the resource loads, in case of videos you will see a brief loading of the blocked content with a grey overlay, followed by a notice with instructions to make the content visible. **By default, this notice will place this content under the "Marketing" category.**

If you want to **avoid the loading** before the content on your page, you can add the **"allowIframe=true"** query param to the source on our banner, like in the following example:
```xml
```
Please note that this property also allows you to choose which iframes to block and which ones to allow across your different pages.
### **Can I change the category of my iframes?**
To change this, you can add the **"BigID-category"** property to the iframe tag and specify the category as shown in the code below:
```xml
```
### **Can I block other iframes besides Youtube or Vimeo?**
While currently **we only natively block iframes from YouTube and Vimeo, if you need to manually block others, you can do so by adding the "BigID-src" property to the src attribute**, and this will activate the blocking of the iframe by BigID. It should look like this:
```xml
```
> [!WARNING]
> Important
>
> In case you are using Google Tag Manager, make sure to add the "bigid-src" to the src attribute so we can block this earlier.
### **And it's done!**
Now you blocked the iframes on your site until the user gives his consent!