How to best track clicks on pdfs | Adobe Higher Education
Skip to main content
October 16, 2015
Répondu

How to best track clicks on pdfs

Hello All,

I'm trying to capture click-through from email links to pdfs. Currently using campaign tracking, but campaign report not showing usage.

 

file.pdf?origin=afn_wk

 

The downloads report shows aggregated numbers of pdf downloads, but I need to know click origin.

 

Thank you All!

 

SW

Ce sujet a été fermé aux réponses.
Meilleure réponse par Gigazelle

Hi Solange,

The reason why you're not seeing the campaign variable defined is because pdf files can't really send image requests. On standard web pages, appmeasurement libraries are loaded, which in turn defines the logic to capture that query string parameter and send it to Adobe's servers. If you're wanting to define the campaign variable when link clicks to a PDF file, you'll want to do it on the page prior to opening the PDF.

If you're using a legacy implementation, use an s.tl() call. The link type would be lnk_d, and be sure to set s.linkTrackVars to contain campaign.

If you're using DTM, use a event-based rule to listen for any links to .pdf files. Then in actions, you can set the campaign variable to what you'd like.

2 commentaires

Gigazelle
Adobe Employee
GigazelleAdobe EmployeeRéponse
Adobe Employee
October 16, 2015

Hi Solange,

The reason why you're not seeing the campaign variable defined is because pdf files can't really send image requests. On standard web pages, appmeasurement libraries are loaded, which in turn defines the logic to capture that query string parameter and send it to Adobe's servers. If you're wanting to define the campaign variable when link clicks to a PDF file, you'll want to do it on the page prior to opening the PDF.

If you're using a legacy implementation, use an s.tl() call. The link type would be lnk_d, and be sure to set s.linkTrackVars to contain campaign.

If you're using DTM, use a event-based rule to listen for any links to .pdf files. Then in actions, you can set the campaign variable to what you'd like.

Rahsing
Level 9
October 16, 2015

Hi Solange,

Could you have a look at the documentation here to see if it solves your query?

Let me know either way.

Regards

Rahul