Clickfunnels does not allow me to embed iframes.

  • Profile Image
    tutuprat
    Asked on August 11, 2016 at 03:55 AM

    Hi this doesn't work,

     

    Clickfunnels does not allow you to embed iframes.

     

    I'm really struggling with this as I'm trying to embed my form as an iframe to avoid the capcha step but the platform just don't allow you to place it.

     

    I'm with my client waiting to run the campaign but the publishers won't run it with the captcha step.

     

    Please urgent help!

     

    https://sierramarketing.clickfunnels.com/tafe-online9647784

     

  • Profile Image
    Chriistian
    Answered on August 11, 2016 at 04:04 AM

    I checked your page and it seems that the form is not displayed there. I checked the source code on your page and I noticed that you are currently using an embed code from contactform123, not jotform.

    I understand that you have tried removing the script code, but that might be a script code from the contactform123 and not jotform.

    Can you please try using the iFrame embed code from Jotform again? This time please remove the script code below the Iframe. Just use the Iframe code seen below.

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://www.jotformpro.com/form/62139094599973" frameborder="0" style="width:100%; height:539px; border:none;" scrolling="no"> </iframe>

    <script type="text/javascript"> window.handleIFrameMessage = function(e) { var args = e.data.split(":"); var iframe = document.getElementById("JotFormIFrame"); if (!iframe) return; switch (args[0]) { case "scrollIntoView": iframe.scrollIntoView(); break; case "setHeight": iframe.style.height = args[1] + "px"; break; case "collapseErrorPage": if (iframe.clientHeight > window.innerHeight) { iframe.style.height = window.innerHeight + "px"; } break; case "reloadPage": window.location.reload(); break; } var isJotForm = (e.origin.indexOf("jotform") > -1) ? true : false; if(isJotForm && "contentWindow" in iframe && "postMessage" in iframe.contentWindow) { var urls = {"docurl":encodeURIComponent(document.URL),"referrer":encodeURIComponent(document.referrer)}; iframe.contentWindow.postMessage(JSON.stringify({"type":"urls","value":urls}), "*"); } }; if (window.addEventListener) { window.addEventListener("message", handleIFrameMessage, false); } else if (window.attachEvent) { window.attachEvent("onmessage", handleIFrameMessage); } if(window.location.href && window.location.href.indexOf("?") > -1) { var ifr = document.getElementById("JotFormIFrame"); var get = window.location.href.substr(window.location.href.indexOf("?") + 1); if(ifr && get.length > 0) { var src = ifr.src; src = src.indexOf("?") > -1 ? src + "&" + get : src + "?" + get; ifr.src = src; } } </script>Please

    If the issue persists, please let us know.
    Regards.