Jeff, please post back your findings here. We're in the process of a huge website migration to Sitecore and therefore it would be useful to better understand how Marketo integrates within that environment. We're currently using iframes, Forms 2.0 and Sharepoint. Once migrated to Sitecore, we'll be embedding forms 2.0 instead of using iframes. This will also require us to use a custom script so that we can minimize the number of forms being used and pass the URL of the confirmation page within the embed script:
MktoForms2.loadForm("//app-sjst.marketo.com", "785-UHP-775", 1057, function(form){
//Add an onSuccess handler
form.onSuccess(function(values, followUpUrl){
//Take the lead to a different page on successful submit, ignoring the form's configured followUpUrl.
location.href = "https://google.com/?q=marketo+forms+v2+examples";
//return false to prevent the submission handler continuing with its own processing
return false;
});
});
I'm assuming you're familiar with this site: http://developers.marketo.com/documentation/websites/forms-2-0/