• Free shipping on orders over €50

Iframe tracking demo

Send iframe form data to the parent page dataLayer

This example embeds a form as an iframe. The iframe hashes the email address, posts a message to the parent page, and the parent page pushes the sanitized event into `window.dataLayer`.

Embedded iframe

Submit the form below. The iframe sends a `postMessage` payload to this page, and this page pushes `iframe_form_submit` to `window.dataLayer`.