I created a landing page under Laravel and placed a Marketo form there. There is also a follow-up page named "completed.php" under Laravel.
Is there anything Marketo can do to prevent direct access to this follow-up page?
I tried to run the redirect process on the Laravel side, but the transition from the Marketo form is considered direct access and is redirected.
I just need to redirect other than the transition from the form.
Laravelの下にランディングページを作成し、そこにMarketoフォームを配置しました。
Laravelの下に「completed.php」という名前のフォローアップページもあります。
このフォローアップページへの直接アクセスを防ぐためにMarketoができることはありますか?
Laravel側でリダイレクトプロセスを実行しようとしましたが、Marketoフォームからの移行は直接アクセスと見なされ、リダイレクトされます。
フォームからの遷移以外をリダイレクトさせたいだけなんですが..
宜しくお願いします。
Solved! Go to Solution.
If both pages are on the same site, the referrer (document.referrer) of the Thank You page will be the form page unless you've specifically set your form page to suppress the referrer.
What is a sample URL?
The URL of the follow-up page looks like this:https: //www.example.com/mylandingpage/completed/
Yes, I meant the actual URL of the form so I could see if you're suppressing the referrer.
Get the referrer with JavaScript or php.
Then it branches the process depending on whether it contains the string "mylandingpage".
Since the security is merely "advisory", there's no reason to use PHP. You can use JS to check document.referrer.
However, your site may be configured such that the document.referrer doesn't contain "mylandingpage". It may only contain the origin, "https://www.example.com".
If both pages are on the same site, the referrer (document.referrer) of the Thank You page will be the form page unless you've specifically set your form page to suppress the referrer.
What is a sample URL?
Thank you for your reply, Sanford.
The URL of the follow-up page looks like this:
https: //www.example.com/mylandingpage/completed/
How about this?
Get the referrer with JavaScript or php.
Then it branches the process depending on whether it contains the string "mylandingpage".
I'm not an expert in either..
The URL of the follow-up page looks like this:https: //www.example.com/mylandingpage/completed/
Yes, I meant the actual URL of the form so I could see if you're suppressing the referrer.
Get the referrer with JavaScript or php.
Then it branches the process depending on whether it contains the string "mylandingpage".
Since the security is merely "advisory", there's no reason to use PHP. You can use JS to check document.referrer.
However, your site may be configured such that the document.referrer doesn't contain "mylandingpage". It may only contain the origin, "https://www.example.com".