Embedding Marketo Web Form

MariaT
Level 1

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?

0 REPLIES 0