boostorg/website-v2

opt-in to YT embeds

Closed this issue · 2 comments

There should be a cookie (for people not logged in) and/or an account setting (for people logged in) about whether or not to allow YouTube embeds (or other similar content). This will let people opt out of the tracking that Google performs, but still allow video content for the people that want it.

should be a cookie

To the developers: any time cookies are added, let's take into account how it affects the CDN. Discuss with me or directly adjust Fastly.

  • if it's a simple boolean cookie 0 or 1, yes or no, that may still permit caching. There will be two versions of each page corresponding with 0 or 1.
  • if it's extremely variable (a uuid), it can at least be removed in the VCL from documentation page loads.

Here is an interesting article on the topic: https://axbom.com/embed-youtube-videos-without-cookies/