Find out whether an embedded iframe talks to your page
When this happens
A booking widget, chat box or form lives inside a cross-origin iframe, so you cannot read its DOM and the built-in form trigger never fires. You need to know if it sends anything out to the parent page.
Do this
Most well-behaved embeds use postMessage to tell the parent window when something happens. Drop a temporary catch-all listener on the page in Preview, interact with the embed, and watch the console. If a payload shows up, you have an event to build on: copy the shape and push it into the dataLayer from a Custom HTML listener.
<script>
// Temporary: drop on All Pages while previewing, then remove.
window.addEventListener('message', function (e) {
console.log('postMessage from', e.origin, e.data);
});
</script>Watch out
If nothing logs, the embed is silent and you will need its own JS API or a visibility or click workaround instead. Always remove the listener before publishing.