Custom Link/Download Link Event Tracking

Avatar

Avatar

1982luca

Avatar

1982luca

1982luca

07-07-2020

Hello everyone,

 

Below you can find the issue that I am facing. Basically when I click on a custom button to download a pdf, randomly during the first one or two Analytics call I have the value Download Link = undefined and after I have Custom Link with the value that I want to track. I think that I am tracking the first Analytics server call. Do you have some suggestion how to fix this issue? And what is the difference between Download Link and Custom Link?

Thanks

 

 

 

1982luca_0-1594115217298.png

 

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

raj_mandalapu

Avatar

raj_mandalapu

raj_mandalapu

07-07-2020

When we try to download a file, the AA will automatically track the respective file if the s.trackDownloadLinks= true is configured. you can configure this in launch either "configure tracker using custom code" or Link Tracking

 

If you want to track downloads without using the OOTB then you can disable below configurations, but you need to handle same in your custom event which you call when you click on download button

 

s.trackDownloadLinks= true;
s.linkDownloadFileTypes= 'exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls';

rajas66269496_0-1594122553539.png

 

 

 

 

Avatar

Avatar

AlexisCazes

MVP

Avatar

AlexisCazes

MVP

AlexisCazes
MVP

07-07-2020

You have enabled automatic download link tracking and maybe have s.tl with custom link as type.

 

Check this:

https://docs.adobe.com/help/en/analytics/implementation/other/dtm/analytics-tool/link-tracking.html

https://docs.adobe.com/help/en/analytics/implementation/vars/config-vars/trackdownloadlinks.html

 

For download link undefined maybe you cal s.tl with type download but your button does not have a link