Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

How can I block the youtube api script in my wordpress theme?

$
0
0

I'm trying to set up a wordpress template and make it GDPR consistent.The problem is that some youtube script gets loaded that sets marketing cookies.

I'm not using any youtube videos on my website, but the script loads in the background anyway.I tried to block it by the Complianz cookie consent plugin, but the youtube cookies were still loaded.

How can I prevent that script from loading and setting these cookies?

What I tried:

  • Delete youtube script in functions.php and similar scripts refering to functions.php
  • Other cookie consent tools (Real cookie banner and Cookiebot)
  • Contacting the theme support

This is the script:

www-widgetapi.js andiframe_api


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>