Content Blocker

Permalink Content Blocker

The Content Blocker allows you to block external content (oEmbeds, iFrames) e.g. from YouTube, social media posts or Google Maps until the user has agreed to view them.

Content Blocker

Permalink Setup

Load Template

Using the templates, you can load preconfigured data from the most important providers into the Content Blocker.

Preconfigured providers:

  • YouTube
  • Vimeo
  • Twitter
  • TikTok
  • Pinterest
  • Instagram
  • Google reCAPTCHA
  • Google Maps
  • Facebook
  • Discord

Status

You can activate or deactivate the content blocker via a slider.

Name

Name of the content blocker.

Example:

Google Maps

Tip: If the same name is used for the content blocker and the cookie/script, then when consent is given in the cookie banner, the provider’s cookie is simultaneously stored in the browser and the provider’s content on the website is unblocked.

Privacy policy link

Link to the privacy policy of the provider.

Example:

https://policies.google.com/privacy

Host(s)

The domain(s) in this field are used to identify the content to be blocked.
If there are multiple domains, they are separated by a comma.

Example:

google.com, google.de

Shortcode

With the Content Blocker function, embedded content (oEmbeds & iFrames) from third-party providers can be blocked until the user explicitly agrees to the display. If the content is not blocked automatically, the generated shortcode can be used.

If, for example, a shortcode for Google Maps has been created, it can be placed at different locations on the website, wherever a Google Map is to be displayed. If different maps are to be displayed, simply change the URL.

Example:

[cc-block id="googlemaps"]https://www.google.com/maps/place/MarketPress+GmbH/@51.03545,13.7751314,17z/data=!3m1!4b1!4m5!3m4!1s0x4709c61d36a151a9:0xfa1080c3c6de0a53!8m2!3d51.03545!4d13.7773201[/cc-block]

Additionally, a URL in the shortcode can be used to convert the URL into a protected iFrame.
Converting the URL to an iFrame works for the following providers:

  • YouTube
  • Twitter
  • Instagram
  • Google Maps
  • Pinterest

Example:

[cc-block id="googlemaps"]https://www.google.com/maps/@52.5168132,13.388062,15.17z[/cc-block]