SOLVED

Re: Automatic redirection: Thank you page to a PDF

Go to solution
Anonymous
Not applicable

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

1 ACCEPTED SOLUTION
Harish_Gupta6
Level 8

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

View solution in original post

4 REPLIES 4
Robb_Barrett
Level 10

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.

Robb Barrett
Anonymous
Not applicable

Good to know!!

thanks guys

Harish_Gupta6
Level 8

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
SanfordWhiteman
Level 10 - Community Moderator

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

Basic JS. The timeout is in milliseconds.