Old thread, but I did want to put this out here: https://blogs.perficientdigital.com/2020/01/22/adding-marketo-forms-in-aem-pages/ There's now an integration for forms available in ACS AEM Commons: https://adobe-consulting-services.github.io/acs-aem-commons/features/marketo-form/index.html