{"id":29373,"date":"2020-06-29T16:38:18","date_gmt":"2020-06-29T20:38:18","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=29373"},"modified":"2020-07-01T15:15:50","modified_gmt":"2020-07-01T19:15:50","slug":"how-to-remove-youtube-tracking","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/06\/29\/how-to-remove-youtube-tracking\/","title":{"rendered":"How to Remove YouTube Tracking"},"content":{"rendered":"<p><a href=\"https:\/\/dri.es\/how-to-remove-youtube-tracking\">Dries Buytaert<\/a> (via <a href=\"https:\/\/daringfireball.net\/linked\/2020\/06\/27\/how-to-remove-youtube-tracking\">John Gruber<\/a>):<\/p>\n<blockquote cite=\"https:\/\/dri.es\/how-to-remove-youtube-tracking\"><p>I learned that when I embed a YouTube video in my blog posts, Google sends an <a href=\"https:\/\/en.wikipedia.org\/wiki\/HTTP_cookie\">HTTP cookie<\/a> to track my site&rsquo;s visitors.<\/p><p>[&#8230;]<\/p><p>After some research, I discovered that YouTube offers a <i>privacy-enhanced way of embedding videos<\/i>.  Instead of linking to <code>youtube.com<\/code>, link to <code>youtube-nocookie.com<\/code>, and no data-collecting HTTP cookie will be sent.  This is Google&rsquo;s way of providing GDPR-compliant YouTube videos.<\/p><\/blockquote>\n<p>It makes his site faster, too. I always liked how the iCab browser would report whether a site was using valid HTML, but I&rsquo;m not sure how influential it was because of the relatively low marketshare. Safari&rsquo;s <a href=\"https:\/\/developer.apple.com\/documentation\/safari-release-notes\/safari-14-beta-release-notes\">new<\/a> <a href=\"https:\/\/appleinsider.com\/articles\/20\/06\/22\/safari-now-blocks-google-analytics-on-sites-new-privacy-report-feature-shows\">Privacy Report<\/a> will hopefully have a big impact.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/07\/31\/the-alert-hammer\/\">The Alert Hammer<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Dries Buytaert (via John Gruber): I learned that when I embed a YouTube video in my blog posts, Google sends an HTTP cookie to track my site&rsquo;s visitors.[&#8230;]After some research, I discovered that YouTube offers a privacy-enhanced way of embedding videos. Instead of linking to youtube.com, link to youtube-nocookie.com, and no data-collecting HTTP cookie will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-06-29T20:38:22Z","apple_news_api_id":"135aefb4-28b6-4f07-8b1f-b4ace97a0af3","apple_news_api_modified_at":"2020-07-01T19:15:54Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AE1rvtCi2TweLH7Ss6XoK8w","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1776,302,31,1837,30,1891,355,103,96,555],"class_list":["post-29373","post","type-post","status-publish","format-standard","hentry","category-technology","tag-gdpr","tag-icab","tag-ios","tag-ios-14","tag-mac","tag-macos-11-0","tag-privacy","tag-safari","tag-web","tag-youtube"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/29373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=29373"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/29373\/revisions"}],"predecessor-version":[{"id":29392,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/29373\/revisions\/29392"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=29373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=29373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=29373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}