iFrames

How to Connect iFrames to the Privacy Center:

Step 1:

Find the iframe tag in the source/HTML code of your website. If it’s a YouTube video it will look something like this (the iframe may vary depending on the website it comes from).

<iframe width="560" height="315" src="https://www.youtube.com/embed/a-youtube-video" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Step 2:

Look in line 1 of Step 1.
Find src and replace it with data-src.

Step 3:

Add

data-trucookiecontrol="[category]"

between the video “URL” and “frameborder="0”

Step 4:

Add the attribute

src="https://cdn.truendo.com/pc/placeholder/en /embedded.html"

to the iframe (this places a placeholder instead of the content)

Example:

data-trucookiecontrol="social_content"

Before

<iframe width="560" height="315" src="https://www.youtube.com/embed/a-youtube-video" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

After

<iframe width="560" height="315" src="https://cdn.truendo.com/pc/placeholder/en/embedded.html" data-src="https://www.youtube.com/embed/a-youtube-video" data-trucookiecontrol="social_content" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

To finish the process Save Your Changes