youtube-nocookie.com is the domain behind YouTube’s privacy-enhanced mode. Many site owners switch to it hoping for a cookie free YouTube embed. It does change how YouTube treats a view, but less than its name suggests. This guide sticks to what Google itself documents.
What privacy-enhanced mode does
Google’s help article Embed videos and playlists describes the mode like this:
- A view in a privacy-enhanced embed is not used to personalize the viewer’s YouTube experience, neither in the embedded player nor later on YouTube.
- If ads are served on the video, they are non-personalized.
- The view is not used to personalize advertising shown to the viewer outside your site.
That is the whole promise. It is about personalization, not about whether cookies or other data reach the visitor’s browser.
The embed change
Switching is one line. Replace www.youtube.com with www.youtube-nocookie.com in the iframe URL. Before:
<iframe src="https://www.youtube.com/embed/VIDEO_ID" title="Video" allow="autoplay; encrypted-media" allowfullscreen></iframe>
After:
<iframe src="https://www.youtube-nocookie.com/embed/VIDEO_ID" title="Video" allow="autoplay; encrypted-media" allowfullscreen></iframe>
Google notes that networks with a firewall allowlist need to add youtube-nocookie.com, and that the mode is available only for embedded players on websites.
What it does not do
- It does not promise a cookie free player. Google’s article does not say that privacy-enhanced mode sets no cookies or stores nothing. Google’s own cookie overview lists the cookies YouTube uses and counts local storage among the similar technologies it relies on.
- It does not keep the visit away from Google. Google’s page on how it uses information from sites that use its services says that when you visit a site that embeds YouTube video, your browser sends Google the page URL and your IP address, and Google may set cookies or read cookies that are already there.
- It does not cover what happens after a click. Google notes that if a viewer clicks out of the embed to another site or app, that site or app may track the viewer under its own policies.
- It does not remove ads. Ads can still appear; they are non-personalized.
Is it enough for GDPR?
On its own, usually not a complete answer. The nocookie domain reduces personalization, but the visitor’s browser still talks to Google as soon as the embed loads. Whether your site needs consent before that happens depends on your whole site, so check it with the person who advises you on privacy. A common workaround is a click-to-load preview that loads the YouTube player only after the visitor agrees. It works, but it adds a step before every video.
The simpler route: a player without ads or tracking cookies
If the goal is to show your own video on your own site, you do not need a social video platform behind it. With SimpleVideo you upload the video, copy one embed code and paste it where you would have put the YouTube iframe.
- No ads. The player shows your video, not advertising.
- No tracking cookies in the player. The embedded player sets no advertising or analytics cookies and sends no viewer analytics beacon. A technically required security cookie may still be set when abuse protection is active.
- European infrastructure. Core hosting runs on European infrastructure, and the subprocessors are named in the public privacy policy.
That makes the embed easier to explain, though your site’s overall privacy setup is still yours to review. Upload your first video and compare it with the nocookie embed on a test page.