{"id":435,"date":"2011-10-23T13:12:54","date_gmt":"2011-10-23T17:12:54","guid":{"rendered":"http:\/\/jclark.org\/weblog\/?p=435"},"modified":"2012-07-21T11:30:47","modified_gmt":"2012-07-21T15:30:47","slug":"howto-prevent-youtube-from-tracking-your-gmail-credentials","status":"publish","type":"post","link":"https:\/\/jclark.org\/weblog\/2011\/10\/23\/howto-prevent-youtube-from-tracking-your-gmail-credentials\/","title":{"rendered":"HOWTO Prevent YouTube from Tracking your GMail Credentials"},"content":{"rendered":"<p><strong>Updated 21 Jul 2012<\/strong> to correct the cookie pattern syntax for Chrome.  <\/p>\n<p>I have recently noticed that when I visit a page on youtube, the top-right corner shows that I am logged in by my email address.  Because I use <a href=\"http:\/\/google.com\/a\">Google Apps for Business<\/a> (ne\u00c3\u00a9 Google Apps for Domains) to manage my email, and because Google recently insisted I merge all of my Google accounts, I also see a banner at the top of the page warning &#8220;This account is managed by jclark.org&#8221; with a link for more info.<\/p>\n<p>What this means is that Google can track all of the videos I watch on YouTube and associate them with my GMail account.  And I expect that goes for YouTube viedos embedded on other sites as well Because I value my privacy, I don&#8217;t want that behavior; that&#8217;s the primary reason I have never signed up for a YouTube account.  Logging out of YouTube has an undesirable side-effect: I am immediately logged out GMail and Google Reader as well.  One solution is to use separate browsers, however, I prefer to run a single browser for efficiency, and viewing any page with an embedded YouTube video in my GMail browser would tack me, even if I then use another browser to view it.<\/p>\n<p>I have found a simple solution: do not allow youtube.com to receive or store cookies on my browser.  This also required removing any existing youtube.com cookies already stored by the browser.  This has the side effect that I cannot log in to YouTube at all, however, that is acceptable to me since I don&#8217;t have, and do not want, a YouTube account.<\/p>\n<p>Here are the steps I took in <a href=\"http:\/\/google.com\/chrome\">Chrome<\/a>:<\/p>\n<ol>\n<li>Close any open youtube.com pages.<\/li>\n<li>Using the wrench icon, open Preferences<\/li>\n<li>In the &#8220;Under the Hood&#8221; tab, in the Privacy section, click &#8220;Content Settings&#8230;&#8221;<\/li>\n<li>Under Cookies, the current setting should say &#8220;Allow local data to be set (recommended),&#8221; or possibly &#8220;Allow local data to be set for the current session only&#8221;.  If you have another setting, you probably already take a more active role in managing your cookies, and should not need these directions.  <\/li>\n<li>Under Cookies, click &#8220;Manage Exceptions&#8230;&#8221;<\/li>\n<li>Under &#8220;Hostname Pattern&#8221; type &#8220;[*.]youtube.com&#8221; (no quotes) and change the Behavior dropdown to &#8220;Block&#8221;.  Close the dialog.<\/li>\n<li>You are returned to &#8220;Content Settings&#8221;; under Cookies click &#8220;All Cookies and Site Data&#8230;&#8221;<\/li>\n<li>In the search box, type &#8220;youtube&#8221; (no quotes).  The list of sites&#8217; cookies will be filtered to URLs containing &#8220;youtube&#8221;; in my case, it was all URLs ending in youtube.com.  Click &#8220;Remove All&#8221;.<\/li>\n<li>Close preferences.  Browse to YouTube, you should now see a &#8220;Sign In&#8221; link in the upper right corner.  Confirm that you are still logged in to GMail.<\/li>\n<li>Profit! Well, a little more Privacy, at any rate. <\/li>\n<\/ol>","protected":false},"excerpt":{"rendered":"<p>Updated 21 Jul 2012 to correct the cookie pattern syntax for Chrome. I have recently noticed that when I visit a page on youtube, the top-right corner shows that I am logged in by my email address. Because I use Google Apps for Business (ne\u00c3\u00a9 Google Apps for Domains) to manage my email, and because [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[113,81,112],"class_list":["post-435","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-gmail","tag-privacy","tag-youtube"],"_links":{"self":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/comments?post=435"}],"version-history":[{"count":7,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/435\/revisions"}],"predecessor-version":[{"id":452,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/posts\/435\/revisions\/452"}],"wp:attachment":[{"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/media?parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/categories?post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jclark.org\/weblog\/wp-json\/wp\/v2\/tags?post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}