How to Insert Youtube Videos in Compliance with GDPR

Attention: Pro Features
This type of Cookie is supported only in the Pro and Reseller versions of MyAgilePrivacy. Purchase your license and gain access to the entire database of pre-inserted cookies, constantly updated by the experts at MyAgilePrivacy.
>> Click here and find the plan that suits you best.

YouTube enables you to embed videos on your website effortlessly using the "Share" option located below the video. However, ensuring compliance with GDPR regulations when including YouTube videos requires a few adjustments.

Here's how to seamlessly integrate YouTube videos into your GDPR-compliant website.

Solution 1 - automatic scan

Utilize the advanced "Cookie Shield" feature, capable of automatically detecting this software.

Set the Shield to "Learning" mode, browse your site's pages, and discover the content entered in the already privacy-compliant mode.

Alternatively, manual configuration is available.

Solution 2 - manual configuration

Part 1 - the YouTube embed code

Go to YouTube and open the video you want to embed on your website.
Below the video you will see a "Share" button.

youtube options - 1

Clicking on the button will open an overlay window with various embedding possibilities. Click on "incorporate."

youtube options - 2

After clicking it will open another window that sees on the left the video, and on the right the code of an iframe and the possibility to configure some parameters.
What we are interested in for GDPR-compliant video inclusion is the"Enable Advanced Privacy Mode" checkbox.

See how the code changes by applying the option:

youtube options - 3

The "advanced privacy mode" changes thesrc of theiframe (the source from which to take the video).
As you can see, the domain is no longer youtube.com, but youtube-nocookie.com. This allows you to include the video without installing any profiling cookies.

Part 2 - declaring the cookie with MyAgilePrivacy

In your WordPress website admin, navigate to: MyAgilePrivacy -> Cookie List from the left menu.
Here, you'll find the list of cookies imported upon plugin installation.
Initially, they'll all be in a draft state. Your task is to publish only the cookies relevant to your website.

cookie list

On this screen you will see a series of columns:

  • Cookie Name: the name of the Cookie
  • Is Necessary: indicates whether or not the cookie is essential to site navigation. If rejecting the cookie makes the site unusable, then it is essential. You will find this information pre-filled in the cookie details.
  • Auto Update: indicates whether the cookie reference text (which we will see in a moment) remains automatically updated or not. If the setting is on "yes," we will automatically take care of updating the cookie reference texts to keep everything up to date according to GDPR regulations.
  • Installation Type: tells you the insertion type chosen for the cookie. This value will be changed depending on the type of inclusion needed, and we will see this together within the guides.

To declare the presence of YouTube videos on your site, search the list for the one with the title "YouTube Video Widget (Google Inc.)."
All you have to do is switch the cookie from "draft" to "published" status.

Conclusion

By following these steps, you'll notify users about the presence of YouTube videos on your site.
However, it's important to note that the videos will not track any cookies.

Download the free guide

Fill out the form and get immediate access to the guide in PDF format.
Mockup del pdf della guida
Loading in Progress...
Request successfully sent. You will be redirected to the download page shortly
By submitting this form I declare that I have read the privacy policy and authorize the Owner to respond to me for what is expressed in point a of the privacy policy
Warning: Your Cookie choices may not allow the form to be submitted.
Click here to review your preferences.
buy now My Agile Privacy - compliant in less than 3 minutes
a Formula Agile SRL project
VAT ID 04524510403 - REA: RN418884
Viale Medici 16/A, 47922 Rimini (RN) - Italy
Share capital 12'000โ‚ฌ
PEC formulaagilesrl[at]legalmail.it
For assistance: info[at]myagileprivacy.com
GDPR and privacy present complexities that extend beyond achieving website compliance. Compliance obligations span across all business aspects and necessitate expert analysis.
When it comes to implementing Banners and Policies, trust My Agile Privacyโ€”the only solution that excludes unnecessary implementations not mandated by regulations.
Logo CMP partner GoogleLogo CMP partner GoogleLogo IAB Europe approved
My Agile Privacy

This site uses technical and profiling cookies. 

You can accept, reject, or customize the cookies by clicking the desired buttons. 

By closing this notice, you will continue without accepting. 

In addition, this site installs Google Analytics version 4 (GA4), Facebook Remarketing with anonymous data transmission via proxy. 

By giving your consent, the data will be sent anonymously, thus protecting your privacy.