SOLVED

Re: How to prevent direct access to the Marketo form follow-up page 【フォローアップページへの直アクセスを禁止する方法】

Go to solution
KyokoKazama
Level 2

How to prevent direct access to the Marketo form follow-up page 【フォローアップページへの直アクセスを禁止する方法】

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フォームからの移行は直接アクセスと見なされ、リダイレクトされます。

フォームからの遷移以外をリダイレクトさせたいだけなんですが..

宜しくお願いします。

2 ACCEPTED SOLUTIONS

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: How to prevent direct access to the Marketo form follow-up page 【フォローアップページへの直アクセスを禁止する方法】

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?

View solution in original post

SanfordWhiteman
Level 10 - Community Moderator

Re: How to prevent direct access to the Marketo form follow-up page 【フォローアップページへの直アクセスを禁止する方法】


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".

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: How to prevent direct access to the Marketo form follow-up page 【フォローアップページへの直アクセスを禁止する方法】

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?

KyokoKazama
Level 2

Re: How to prevent direct access to the Marketo form follow-up page 【フォローアップページへの直アクセスを禁止する方法】

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..

SanfordWhiteman
Level 10 - Community Moderator

Re: How to prevent direct access to the Marketo form follow-up page 【フォローアップページへの直アクセスを禁止する方法】


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".