6 Replies Latest reply on Aug 25, 2016 9:24 AM by b7dff3d9ff657f6b707cb936004216254a615bee

    Embedded form not displaying on site

      Has anybody ran into an issue where, after editing the standard embed code to include an onSuccess push of an event to Google, the form disappears? Below is the updated embed code I was trying to use. I'm not a develop by any means, but it seems to match the syntax I've seen in other discussions in the community. Thanks for looking!

       

      <script src="//app-sj04.marketo.com/js/forms2/js/forms2.min.js"></script>

      <formid="mktoForm_XXX"></form>

      <script>

      MktoForms2.loadForm(("//app-sj04.marketo.com", "XXX-XXX-XXX", XXXX, function(form){

        form.onSuccess(values, followUpURL){

          dataLayer.push({event: 'EVENT NAME'});

        return true;

        });

      });

      </script>