Skip to content
0
Solved1 answers

Why is a YouTube video or map still blocked after consent?

Sam Taylorasked Feb 23, 2026

Our YouTube embed is correctly blocked before consent, but sometimes it does not load after the visitor allows marketing. How should I troubleshoot this?

iframestracker-blockingembeds
1 Answers6 Views

Your Answer

1 Answer

0
Best answer

Confirm that the iframe is assigned to the same category the visitor granted and that the latest inventory is published. Then watch the iframe-blocked and iframe-unblocked events to see whether the runtime reevaluates the element.

If a framework replaces the iframe during client-side navigation, make sure the new element is created after OptinStack initializes and retains the expected source and category information. For a custom experience, you can provide blocked-iframe placeholder HTML and let visitors open preferences from the placeholder.

Documentation: Blocking events and Blocked iframe placeholders.

OptinStack TeamTeam
Feb 24, 2026