8 Replies Latest reply on May 5, 2018 1:12 PM by Sanford Whiteman

    Embedding Marketo Forms on Build rather than on Page Load

    Alex O'Regan

      Hi,

      I'm a web developer working at a company that wishes to use Marketo forms on it's website.

      I've successfully gotten Marketo Forms integrated into the website, however, the load times for these embed scripts are unacceptably slow, and cause the website to feel clunky.

      My possible solution for this is to execute the embed script during the website build, and then inject the returned form into the static webpage, so that the form will be served as static HTML, along with the rest of the page. However, I'm worried that when it comes to the client interacting with the form, the MktoForms2 script might not be able to detect that the form is already in the webpage.

       

      Does anyone know if this solution will work? I'd like to know now, rather than starting the work only to realise that it's impossible. Any help is appreciated.

       

      Regards.

      Alex