Davideo Company Blog

*Updated 2019*  Why You Should Enable Privacy-Enhanced Mode on Your Embedded YouTube Videos

Posted by Candice Moore on Feb 5, 2018 10:09:09 AM

If you've ever embedded a video from YouTube onto your website, you may have noticed the option to "Enable privacy-enhanced mode".

Screen Shot 2018-01-04 at 12.39.09 PM.pngIf you hover over the information icon next to this option, a pop-up explains that "When you turn on privacy-enhanced mode, YouTube won't store information about visitors on your website unless they play the video."

But what exactly does this mean?

YouTube's default setting is to leave privacy-enhanced mode off. This allows them to place a tracking cookie on any computer that a viewer uses to visit your webpage.

A cookie is a small file sent from a website and stored on the user's computer by their web browser. These files hold data such as the name of the site being viewed, what pages were visited, what products or other content were viewed, etc.

With this cookie, YouTube can now target ads to the user's interests based on the information that the cookie collected. Every time the user visits a webpage with embedded content from YouTube, a cookie is created to collect more information about that user.

Many people see tracking cookies as an invasion of privacy since they allow a site to build up profiles on users without their consent.


While you can't completely stop YouTube from installing cookies through the embedded videos on your site, enabling privacy-enhanced mode will allow You Tube to install the cookies only when a user actually clicks to play one of the videos. This protects the privacy of anyone who is browsing your website, but doesn't watch the videos embedded from YouTube.

To enable privacy-enhanced mode on your YouTube video embeds, just tick the box labeled "Enable privacy-enhanced mode" at the bottom of the YouTube embed window. This will change the embed code to include the "-nocookie" tag.

Now just click on "Copy" and paste the embed code into your website to embed the video.

Note: If you have already embedded this video on your website before enabling the privacy-enhanced mode, your website will not automatically update to include the "-nocookie" tag. You must replace the current embed code on your website with this new one.

The correct embed code should read:

...src="https://www.youtube-nocookie.com/embed/your video code?rel=0"...

If your embed code reads:

...src="https://www.youtube.com/embed/your video code?rel=0"...

You must add in the "-nocookie" tag.

 

Contact Us

If you need any additional help with embedding your YouTube videos on your website



RELATED BLOG POSTS

YouTube-Related1

A YouTube Update Coming This Week Will Affect Your Embedded Videos!

Google has rolled out a new update that effects videos embedded from YouTube. They no longer allow you to disable the "related video" thumbnails from appearing at the end of your embedded YouTube videos, but we can offer a solution. Read More

trailer-2

How We Optimize Our YouTube Channel to Get Leads to Our Website

YouTube is the second largest search engine, so there's no doubt that your company should have videos there, but YouTube is also like a black hole. Once someone is on YouTube, Google does everything in their power to keep them there. But that's not what you want! You want to get them off of YouTube and onto YOUR website. Read More

youtube-344107_960_720

The Case AGAINST having a Linked YouTube Icon

YouTube is one of the internet's most handy and efficient video-hosting platforms, and as such, you might be using it to house your company's videos on and/or off your website. However, it does employ a number of disguised features designed to drive traffic to YouTube itself rather than your website. Luckily, there are ways to combat these features and ensure that your hosted videos aren't driving traffic to anywhere you don't want them to. Read More

 

Topics: Helpful Tips, YouTube