{"id":9066,"date":"2021-12-21T10:17:05","date_gmt":"2021-12-21T09:17:05","guid":{"rendered":"https:\/\/www.myagileprivacy.com\/how-to-insert-youtube-videos-in-compliance-with-gdpr\/"},"modified":"2026-01-02T15:09:05","modified_gmt":"2026-01-02T14:09:05","slug":"how-to-insert-youtube-videos-in-compliance-with-gdpr","status":"publish","type":"post","link":"https:\/\/www.myagileprivacy.com\/en\/how-to-insert-youtube-videos-in-compliance-with-gdpr\/","title":{"rendered":"How to Insert Youtube Videos in Compliance with GDPR"},"content":{"rendered":"<p>YouTube allows you to effortlessly embed videos on your website using the \"Share\" option located below each video. However, to ensure compliance with GDPR regulations, a few adjustments are necessary when including YouTube videos.<\/p>\n<p><strong>Here's how to seamlessly integrate YouTube videos into your GDPR-compliant website:<\/strong><\/p>\n<h2>Solution 1 \u2013 Automatic Scan<\/h2>\n<p>Use the advanced \"Cookie Shield\" feature, which can automatically detect YouTube embeds.<br \/>\nSet the Shield to \"Learning\" mode and browse your site's pages; the system will identify embedded content and automatically ensure privacy compliance.<br \/>\nAlternatively, you can configure everything manually if you prefer.<\/p>\n<h2>Solution 2 \u2013 Manual Configuration<\/h2>\n<h3>Part 1 \u2013 The YouTube Embed Code<\/h3>\n<p>Go to YouTube and open the video you want to embed on your site.<br \/>\nBelow the video, click the \"Share\" button.<br \/>\n<img decoding=\"async\" class=\"alignnone wp-image-4999 size-full\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_1.jpg\" alt=\"youtube options - 1\" width=\"1500\" height=\"694\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_1.jpg 1500w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_1-300x139.jpg 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_1-1024x474.jpg 1024w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_1-768x355.jpg 768w\" sizes=\"(max-width: 1500px) 100vw, 1500px\" \/><br \/>\nThis opens an overlay window with various sharing options. Click on \"Embed.\"<br \/>\n<img decoding=\"async\" class=\"alignnone wp-image-5000 size-full\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_2.jpg\" alt=\"youtube options - 2\" width=\"1920\" height=\"826\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_2.jpg 1920w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_2-300x129.jpg 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_2-1024x441.jpg 1024w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_2-768x330.jpg 768w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_2-1536x661.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><br \/>\nAfter clicking \"Embed,\" a new window appears: you'll see a video preview on the left and an <em>iframe<\/em> code on the right, with options to configure settings.<br \/>\nFor GDPR-compliant video inclusion, make sure to check the <strong>\"Enable privacy-enhanced mode\"<\/strong> checkbox.<br \/>\nNotice how enabling this option changes the code:<br \/>\n<img decoding=\"async\" class=\"aligncenter wp-image-9724 size-large\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_3-en-1024x554.jpg\" alt=\"youtube options - 3\" width=\"1024\" height=\"554\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_3-en-1024x554.jpg 1024w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_3-en-300x162.jpg 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_3-en-768x416.jpg 768w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/12\/youtube_3-en.jpg 1500w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><br \/>\nPrivacy-enhanced mode changes the <em>src<\/em> of the <em>iframe<\/em>\u2014the source from which the video is loaded.<br \/>\nAs you\u2019ll see, the domain changes from youtube.com to <strong>youtube-nocookie.com<\/strong>. This allows you to include the video without setting any profiling cookies.<\/p>\n<h3>Part 2 \u2013 Declaring the Cookie with My Agile Privacy<sup>\u00ae<\/sup><\/h3>\n<p>In your WordPress admin area, go to <em>My Agile Privacy<sup>\u00ae<\/sup> \u2192 Cookie List<\/em> from the left menu.<br \/>\nHere, you\u2019ll find a list of cookies imported during plugin installation, all initially in draft status. Only publish the cookies relevant to your website.<br \/>\n<img decoding=\"async\" class=\"aligncenter wp-image-9467 size-full\" src=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookielist-en.jpg\" alt=\"cookie list\" width=\"1000\" height=\"303\" srcset=\"https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookielist-en.jpg 1000w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookielist-en-300x91.jpg 300w, https:\/\/www.myagileprivacy.com\/wp-content\/uploads\/2021\/11\/cookielist-en-768x233.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><br \/>\nThis screen displays several columns:<\/p>\n<ul>\n<li><em>Cookie Name<\/em>: the name of the cookie.<\/li>\n<li><em>Is Necessary<\/em>: indicates whether the cookie is essential for functionality. If rejecting the cookie breaks the site, it is marked as essential (this is pre-filled).<\/li>\n<li><em>Auto Update<\/em>: shows if the cookie reference text is automatically updated to stay GDPR compliant. If set to \"yes,\" the plugin handles the updates.<\/li>\n<li><em>Installation Type<\/em>: specifies the method used to add the cookie, which may vary depending on your needs. More details are in the guides.<\/li>\n<\/ul>\n<p>To declare the presence of YouTube videos, locate \"YouTube Video Widget (Google Inc.)\" in the list and switch its status from \"draft\" to \"published\".<\/p>\n<h2>Conclusion<\/h2>\n<p>By following these steps, you\u2019ll correctly inform users about the presence of YouTube videos on your site, ensuring GDPR compliance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>YouTube allows you to effortlessly embed videos on your website using the \"Share\" option located below each video. However, to ensure compliance with GDPR regulations, a few adjustments are necessary when including YouTube videos. Here's how to seamlessly integrate YouTube videos into your GDPR-compliant website: Solution 1 \u2013 Automatic Scan Use the advanced \"Cookie Shield\" [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8723,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[33],"tags":[34],"class_list":["post-9066","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cookies","tag-premium"],"acf":{"visibilita_box_autore":false,"autore_associato":null,"elenco_faq_articolo":null,"url_esterno":"","titolo":"YouTube"},"_links":{"self":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/comments?post=9066"}],"version-history":[{"count":11,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9066\/revisions"}],"predecessor-version":[{"id":15162,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/posts\/9066\/revisions\/15162"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/media\/8723"}],"wp:attachment":[{"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/media?parent=9066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/categories?post=9066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myagileprivacy.com\/en\/wp-json\/wp\/v2\/tags?post=9066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}