Skip to main content
Jun 16, 2016 9:19 AM UTC
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
Jun 16, 2016 9:49 AM UTC

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

SanfordWhiteman
User Group Leader
User Group Leader
Jun 16, 2016 9:48 AM UTC

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

Basic JS. The timeout is in milliseconds.

Translate
Harish_Gupta6
Harish_Gupta6Accepted solution
Level 6
Jun 16, 2016 9:49 AM UTC

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
Robb_Barrett
Level 10
Jun 16, 2016 12:48 PM UTC

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
Jun 16, 2016 1:33 PM UTC

Good to know!!

thanks guys

Translate