Opening a CTA PDF in a new tab | Community
Skip to main content
Veronica_Flore2
Level 2
Nov 28, 2018 3:55 PM UTC
Solved

Opening a CTA PDF in a new tab

Hi,

We're currently working with this Marketo guided landing page: pages.diningalliance.com/tribal-value.html  The page has two different CTA's to download some materials, but the buttons are opening the PDFs in the same window as the landing page, and we would like these PDFs to be opened in a new tab. Has someone else encountered this problem? If so, how coding has resolved this issue?

I would appreciate some insights!

Thanks,

Veronica

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Nov 28, 2018 4:26 PM UTC

If you're not talking about a form but a simple link, you add _target="blank" (this is not a Marketo thing, it's standard HTML).

<a href="https://www.example.com/my.pdf" target="_blank">

5 replies

Tara_Petre
Level 4
Nov 28, 2018 8:46 PM UTC

You might also consider creating a LP to hold the PDF and linking to that. It has several benefits including the ability to track visits, not just link clicks. Tracking PDFs visited is tricky because there's no Munchkin unless it's embedded.

Translate
SanfordWhiteman
Level 10
Nov 28, 2018 8:53 PM UTC

Embedded?

Anyway in this case, for direct clicks from an LP on the same origin, you don't need a redirector page because the Clicked Web Page event contains all the same info . For clicks in an email, yes, they should always bounce off a redirector,

Translate
SanfordWhiteman
Level 10
Nov 28, 2018 3:59 PM UTC

Have you searched the Community? Several examples of the code for this are out there.

Translate
Veronica_Flore2
Level 2
Nov 28, 2018 4:14 PM UTC

Hi Sanford,

I have, but the only one I've seen is regarding opening the PDF after a form has been submitted, which I believe it might not be the right code. Is there any link you can provide? I assume you have experience with this type of code.

Thanks,

Veronica

Translate
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Nov 28, 2018 4:26 PM UTC

If you're not talking about a form but a simple link, you add _target="blank" (this is not a Marketo thing, it's standard HTML).

<a href="https://www.example.com/my.pdf" target="_blank">

Translate