Why this wireframe works | Embed placeholder for cookie consent
Nothing is sent outside until it is clicked
Videos and maps do not load until the placeholder is clicked, so data from people who never watch is not sent to outside services.
It says where the content loads from, right there
Writing “This video loads from YouTube” on the placeholder means people know which service will receive their data just before they watch.
The key information gets through without loading
The map placeholder shows the address and nearest transit stop, and the video has a link to watch it on the external site. People who choose not to load still get what they need.
Common mistakes | Embed placeholder for cookie consent
The embed loads behind the placeholder anyway
If the placeholder only covers the embed visually while its code loads from the start, the data is sent anyway. Insert the embed code only when the placeholder is clicked.
The service is not named
“Show external content” alone does not say what will load. Name the service on the placeholder.
People have to click every time
For repeat visitors, clicking every time is a chore. Offer “Always allow” and save the choice.
Without loading the map, there is no way to tell where the place is
A blank map placeholder leaves people who need the address stuck. Keep the address and nearest transit stop as text.
Hiding the embed without stopping the transfer
Hiding an external video or map until consent does not help if it is loaded in the background. Check in the real network requests that no iframe, SDK, preconnect or external thumbnail loads before consent. Build the placeholder from images and text you host yourself.
FAQ | Embed placeholder for cookie consent
With site-wide cookie consent, is this placeholder still needed?
If site-wide consent also covers loading outside services, you can load embeds right away for people who accepted and show the placeholder only to those who rejected. Sites that show no consent screen can also use it to reduce the data sent to outside services.
Where can “Always allow” be undone?
Let people undo it in the same place as other settings, such as “Cookie settings” in the footer. Combined with the reopen cookie settings link, all changes happen in one place.
Do embedded outside services also require consent?
Whether you need consent, and how much you need to explain, depends on the cookies you use, the data sent to outside services, and the rules where your users are. Examples include GDPR and the ePrivacy Directive in the EU, US state laws such as CCPA/CPRA, and Japan’s rules on sending user data to third parties. This pattern is an example of how to build the screen; for legal decisions, check with a specialist as needed.











