SOLVED

Re: Automatic redirection: Thank you page to a PDF

Go to solution
Anonymous
Not applicable

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

1 ACCEPTED SOLUTION

Accepted Solutions
Harish_Gupta6
Level 8

Re: Automatic redirection: Thank you page to a PDF

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

Re: Automatic redirection: Thank you page to a PDF

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

Basic JS. The timeout is in milliseconds.

Harish_Gupta6
Level 8

Re: Automatic redirection: Thank you page to a PDF

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
Robb_Barrett
Marketo Employee

Re: Automatic redirection: Thank you page to a PDF

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

Re: Automatic redirection: Thank you page to a PDF

Good to know!!

thanks guys