I want to load a Marketo form onto our website, but our website does not allow for <script> coding. It will allow for an iframe. Here is the form code:
<script src="//app-sjo.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_1511"></form>
<script>MktoForms2.loadForm("//app-sjo.marketo.com", "452-ZON-215", 1511);</script>
I appreciate your assistance.
Solved! Go to Solution.
You don't "turn" code into an IFRAME.
You put your form on a Marketo LP. Then you add an IFRAME whose src attribute is the Marketo LP URL.
(Obviously this is a suboptimal way to use Marketo forms. It also will not work if your external domain is running over https but your Marketo LP domain is not.)
You don't "turn" code into an IFRAME.
You put your form on a Marketo LP. Then you add an IFRAME whose src attribute is the Marketo LP URL.
(Obviously this is a suboptimal way to use Marketo forms. It also will not work if your external domain is running over https but your Marketo LP domain is not.)
Perfect! Thank you.