I've build a non-marketo form that mimics existing Marketo form. Its sends data to Marketo just fine, the only problem is confirmation page as the Marketo script just simply redirects the visitor back to the form page. Is there a way to setup a custom success url?
I've tried checking $_SERVER['HTTP_REFERER'] and serve different page if the referer is Marketo, but doesn't look like Marketo registers there.
Any ideas, I don't want tot use API for something that should be really straightforward and quick.
Solved! Go to Solution.
Accidentally found an answer myself. Simply define the thank you url as a hidden form field with a name="returnURL".