SOLVED

Is there a way to define a custom thank you page for non-marketo forms?

Go to solution
Highlighted
Anonymous
Not applicable

Is there a way to define a custom thank you page for non-marketo forms?

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Anonymous
Not applicable

Re: Is there a way to define a custom thank you page for non-marketo forms?

Accidentally found an answer myself. Simply define the thank you url as a hidden form field with a name="returnURL".

View solution in original post

1 REPLY 1
Highlighted
Anonymous
Not applicable

Re: Is there a way to define a custom thank you page for non-marketo forms?

Accidentally found an answer myself. Simply define the thank you url as a hidden form field with a name="returnURL".

View solution in original post