← Retour au test

Intégration Webflow

Copiez l'un des codes ci-dessous dans un bloc Embed HTML de Webflow. La version adaptable ajuste automatiquement la hauteur de l'iframe au contenu.

Version simple (hauteur fixe)

<iframe
  src="https://votre-domaine.app/embed"
  style="width:100%; height:1200px; border:0; border-radius:16px;"
  loading="lazy"
  title="Quelle est ma stratégie d'échec ?"
></iframe>

Version adaptable (hauteur dynamique)

<iframe
  id="strategie-echec-iframe"
  src="https://votre-domaine.app/embed"
  style="width:100%; height:900px; border:0; border-radius:16px;"
  loading="lazy"
  title="Quelle est ma stratégie d'échec ?"
></iframe>
<script>
  window.addEventListener("message", function (e) {
    if (e.data && e.data.type === "strategie-echec:height") {
      var f = document.getElementById("strategie-echec-iframe");
      if (f) f.style.height = (e.data.height + 24) + "px";
    }
  });
</script>

URL de l'embed

https://votre-domaine.app/embed