{"id":20721,"date":"2020-08-29T16:16:48","date_gmt":"2020-08-29T15:16:48","guid":{"rendered":"https:\/\/jamesmichie.com\/blog\/?p=20721"},"modified":"2020-12-28T13:37:46","modified_gmt":"2020-12-28T13:37:46","slug":"do-not-track","status":"publish","type":"post","link":"https:\/\/jamesmichie.com\/blog\/2020\/08\/do-not-track\/","title":{"rendered":"Do Not Track"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Over the last four years, I have worked hard to make my blog as light, secure and privacy conscious as possible. &#8216;Https&#8217; is forced across my entire domain; it is hosted on a <a rel=\"noreferrer noopener\" href=\"https:\/\/jamesmichie.com\/blog\/2018\/12\/reclaiming-my-domain-since-august-2016\/\" target=\"_blank\">European server<\/a>; uses no analytics (Google and\/or Jetpack); and the least amount of plugins<sup><a href=\"#footnote_1_20721\" id=\"identifier_1_20721\" class=\"footnote-link footnote-identifier-link\" title=\"Currently seven; four of which are helping to keep different aspects of my blog secure.\">1<\/a><\/sup> possible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When visiting my blog you should find that it is fast and, most importantly, not tracking you. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is true most of the time but there are some exceptions where content has been embedded from external sites. The list of offenders is small (YouTube, Twitter, Instagram) but I am not happy that their presence allows them to intrude on my readers&#8217; privacy none the less. It also meant, arguably, that I was not fully GDPR compliant.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Doing some research into this issue, I came across a post by <a rel=\"noopener noreferrer\" href=\"https:\/\/dri.es\/how-to-remove-youtube-tracking\" target=\"_blank\">Dries Buytaert<\/a> discussing the &#8216;cookies&#8217; that are installed from embedded YouTube videos. He discovered that YouTube provides a privacy-enhanced way to embed videos on your blog without leaving a cookie. Instead of using&nbsp;<code>youtube.com<\/code> you can use <code>youtube-nocookie.com<\/code> instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I finally got round to putting this into practice and spent a couple of hours this morning editing all of the YouTube videos embedded on my blog to use the following code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;iframe src=\"https:\/\/www.youtube-nocookie.com\/embed\/video-id\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"&gt;&lt;\/iframe&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Testing a post in Safari, it is clear that it has worked correctly. The YouTube video is embedded and plays as expected but no trackers were contacted. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"438\" src=\"https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2020\/08\/No-Trackers-700x438.png\" alt=\"No Trackers\" class=\"wp-image-20737\" srcset=\"https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2020\/08\/No-Trackers-700x438.png 700w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2020\/08\/No-Trackers-300x188.png 300w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2020\/08\/No-Trackers-768x480.png 768w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2020\/08\/No-Trackers-1536x960.png 1536w, https:\/\/jamesmichie.com\/blog\/wp-content\/uploads\/2020\/08\/No-Trackers-2048x1280.png 2048w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">While doing this, I also found a number of broken links and some embedded audio files that were no longer working. I fixed those along the way, making for a very productive morning. Winning! \ud83d\ude03<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next step is to see if I can achieve the same with the handful of tweets and Instagram posts that I have embedded on my blog.<\/p>\n<ol class=\"footnotes\"><li id=\"footnote_1_20721\" class=\"footnote\">Currently seven; four of which are helping to keep different aspects of my blog secure.<span class=\"footnote-back-link-wrapper\">[<a href=\"#identifier_1_20721\" class=\"footnote-link footnote-back-link\">&#8617;<\/a>]<\/span><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>Over the last four years, I have worked hard to make my blog as light, secure and privacy conscious as possible. &#8216;Https&#8217; is forced across my entire domain; it is hosted on a European server; uses no analytics (Google and\/or Jetpack); and the least amount of plugins1 possible. When visiting my blog you should find &hellip; <a href=\"https:\/\/jamesmichie.com\/blog\/2020\/08\/do-not-track\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Do Not Track<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"autoblue_enabled":false,"autoblue_custom_message":"","autoblue_shares":[],"autoblue_post_url":"","autoblue_publish_document":false,"footnotes":""},"categories":[177,4],"tags":[8,1185,1188,10,1186,951,1187,1166,949,1189,1184,158],"class_list":["post-20721","post","type-post","status-publish","format-standard","hentry","category-blogging-2","category-technology","tag-blogging","tag-cookies","tag-dries-buytaert","tag-google","tag-https","tag-kraftwerk","tag-plugins","tag-privacy","tag-reclaim-hosting","tag-security","tag-tracking","tag-youtube"],"_links":{"self":[{"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/posts\/20721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/comments?post=20721"}],"version-history":[{"count":18,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/posts\/20721\/revisions"}],"predecessor-version":[{"id":20823,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/posts\/20721\/revisions\/20823"}],"wp:attachment":[{"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/media?parent=20721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/categories?post=20721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamesmichie.com\/blog\/wp-json\/wp\/v2\/tags?post=20721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}