Opening a CTA PDF in a new tab | Community
Skip to main content
Veronica_Flore2
New Participant
November 28, 2018
Solved

Opening a CTA PDF in a new tab

  • November 28, 2018
  • 2 replies
  • 4650 views

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

Best answer by SanfordWhiteman

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">

2 replies

Tara_Petre
New Participant
November 28, 2018

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.

SanfordWhiteman
New Participant
November 28, 2018

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,

SanfordWhiteman
New Participant
November 28, 2018

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

Veronica_Flore2
New Participant
November 28, 2018

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

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
November 28, 2018

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">