Has anyone found an answer to this issue? I tried Gary S code in this small HTML and his works, but my forms from both sandbox and production environments will not render render.
The first 2 are my forms, the last is Gary's. Is there maybe a setting within Marketo that allows the forms to be visible outside of a Marketo Landing Page?
<!DOCTYPE html>
<html>
<body>
<h1>My Web Page</h1>
<script src="https://app-sj07.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_1003"></form>
<script>// <![CDATA[
MktoForms2.loadForm("https://app-sj07.marketo.com", "195-WCT-232", 1003);
// ]]</script>
<script src="https://app-ab02.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_2"></form>
<script>// <![CDATA[
MktoForms2.loadForm("https://app-ab02.marketo.com", "591-WJW-115", 2);
// ]]></script>
<script src="https://app-lon03.marketo.com/js/forms2/js/forms2.js"></script>
<form id="mktoForm_1012"></form>
<script>// <![CDATA[
MktoForms2.loadForm("https://app-lon03.marketo.com", "660-GVK-255", 1012);
// ]]></script>
</body>
</html>