Automatic redirection: Thank you page to a PDF | Community
Skip to main content
June 16, 2016
Solved

Automatic redirection: Thank you page to a PDF

Hi,

How I can redirect after few seconds from a thank you landing page to a PDF?

thank you in advance for your help

Said

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Harish_Gupta6
Harish_Gupta6Accepted solution
Level 6
June 16, 2016

Hi,

Open the thankyou landing page in edit mode and then click on "Landing page Actions" and under Custom Head Html please insert the below code:

<HEAD>

<TITLE>Page Tittle if any</TITLE>

<META HTTP-EQUIV="refresh" CONTENT="30;URL=xyz.pdf">

</HEAD>

Please replace the 30 with the time you want to keep the lead on the thankyou page and replace the xyz.pdf with the pdf link.

Thanks

Harish Gupta

4 replies

Robb_Barrett
Level 10
June 16, 2016

Not all browsers will open up a PDF in a window.  Chrome doesn't.  You might want to make a nice, big button that says "Download PDF" for the person to click.

Translate
Robb Barrett
June 16, 2016

Good to know!!

thanks guys

Translate
Harish_Gupta6
Harish_Gupta6Accepted solution
Level 6
June 16, 2016

Hi,

Open the thankyou landing page in edit mode and then click on "Landing page Actions" and under Custom Head Html please insert the below code:

<HEAD>

<TITLE>Page Tittle if any</TITLE>

<META HTTP-EQUIV="refresh" CONTENT="30;URL=xyz.pdf">

</HEAD>

Please replace the 30 with the time you want to keep the lead on the thankyou page and replace the xyz.pdf with the pdf link.

Thanks

Translate
Harish Gupta
SanfordWhiteman
Level 10
June 16, 2016

  setTimeout(document.location.assign.bind(document.location,'/path/to/your.pdf'), 2000);

Basic JS. The timeout is in milliseconds.

Translate