I've been trying to test Smart Campaigns using Fill Out WEb Form as a trigger. Unfortunately, embedding a web form doesn't work for me. I have no JS errrors but the request is not sent.
This is my test webpage with embedded form code:
<!doctype html>
<html>
<head>
<title>My Test form</title>
<script src="https://[MYHOST]/js/forms2/js/forms2.min.js"></script>
</head>
<body>
<form id="mktoForm_1001"></form>
<script>
MktoForms2.loadForm(
"https://[MYHOST]",
"091-LGJ-090",
1001);
</script>
</body>
</html>no request is made when I submit, it just hags with a "please wait" button. Is it something wrong with my form in Marketo or with the js code?
Hi @MariaT ,
A few things to double-check:
<script src="//xxx-xxx-xxx.mktoweb.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_1306"></form>
<script>MktoForms2.loadForm("//xxx-xxx-xxx.mktoweb.com", "xxx-xxx-xxx", 1306);</script>
https://[MYHOST] should be your munchkin, not just any random site host.