I'm new to kentico and I'm trying to integrate marketo Forms 2.0 (contact us page) to a kentico page, Was unable to find any integration samples,
I was able to fix all the form tag issues using following code
MktoForms2.loadForm("//app-***.marketo.com", "****", 8888, function (form) {
MktoForms2.$("#formPlaceholder_8888").append(form.getFormElem());
form.addHiddenFields({ "Industry": document.title });
form.onSuccess(function (values, followUpUrl) {
return false;
});
});
<div id="formPlaceholder_8888">&</div>
Replace the *** and 888 with correct values of the script.