Why & How to Enable Privacy-Enhanced Mode in YouTube

Gaurav Bidasaria

YouTube is the biggest video hosting platform with a number of features hidden deep within the system that few people know of. One of them is the Privacy-Enhanced Mode.

Enable Privacy Enhanced Mode In You Tube

To understand what it is and why we need to enable it, we must understand the basics.

How Sharing on YouTube Works

YouTube allows anyone to share a video on their website or blog by embedding it using an iframe code. You just copy and paste the code, and the video will appear on the page. The visitor won’t even have to leave the site to watch it. No need to click through to YouTube.

The problem is that even if the visitor is not watching the video or interacting with it, in any capacity, YouTube still collects and stores data on them. Not cool.

This is done using cookies that are placed on the user’s browser the moment they load a webpage with a YouTube video embedded in it. These cookies are used to track users, serve targeted ads (Google’s bread and butter), and add info to user’s profile. Yes, they have profiles on everyone.

Cool Tip: Did you know that you could make the embedded YouTube video play from a particular point or certain time? Just add '?start=xx' in the code right after the URL. Insert time in seconds instead of 'xx'.

Why Enable Privacy-Enhanced Mode in YouTube

When you enable privacy-enhanced mode, YouTube will not collect and store info on the users, that are visiting your site, on its server unless they view the video.

Now, Google will collect data only when the user clicks on the play button and watches the video or interacts with it in some capacity. If you leave the video alone, no data will be collected.

Why you should care? If you don't know, the EU has just passed a new regulation called General Data Protection Regulation (GDRP). This is why it is important that everyone who is embedding YouTube videos must enable privacy-enhanced mode option before doing so.

In the wake of all the privacy and security discussions that have been going on, I decided to write a guide on the privacy-enhanced mode. This mode will honor users’ privacy over anything else.

How to Enable Privacy-Enhanced Mode in YouTube

Google has played its cards smartly. They have included the privacy-enhanced mode but the option is disabled by default. Here are the steps to activate it.

Open the video you want to share in a new tab. You will notice the familiar Share button below the video. Click on it.

Youtube Share Button

You will now see some options like names of people in your network you can share the video with, a shareable link ready to copy, and the embed button.

Youtube Video Embed Button

When you select the Embed option, you will see an iframe code ready to be copy-pasted.

Youtube Embed Code

Scroll down a little and you will find the privacy-enhanced mode option right at the bottom. Check the box to enable it.

Youtube Enable Privacy Enhanced Mode Option

Now, you are ready to scroll back up and copy and paste the code wherever you want. You can be rest assured that your users’ data is secured and that their privacy will be respected. 

But how do you double-check that you've added the right code? Good question.

This is the code when the privacy-enhanced mode option was disabled.

Youtube Iframe Code Without Privacy Enhanced Mode

This is how the code looks when the option is enabled.

Youtube Iframe Code With Privacy Enhanced Mode

Notice any difference? The URL has changed. Instead of using youtube.com, Google is now using youtube-nocookie.com. Just so you are thinking, I tried opening the domain name and it returns a classic 404 error.

You can use this information to check which sites are sharing YouTube videos with the privacy-enhanced mode enabled. Just check their source code and search for the nocookie URL.

Note: Remember to include ‘www’ in the URL because the SSL certificate for the domain is not valid without ‘www’ in the URL.

Enhancing Privacy

Privacy is a rising concern but there are still many people who are either unaware of the risks or simply don't know secure and manage their data. We can create a difference, and a better Internet, only when developers, creators, and users come together and act responsibly.

Next up: Want to know how you can sort YouTube videos from oldest to newest while binge-watching your favorite YouTube channel? Check the link below.

Read Next
How to Sort & Play YouTube Videos from Oldest to Newest
Also See
#Read our articles on YouTube#privacy

Join the newsletter

Gaurav is a tech enthusiast who loves talking about new technologies and gadgets. He dropped out of CA because he found the work boring and monotonous! When he is not following crypto and blockchain tech, you can find him binge-watching Netflix or making travel plans.