Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Custom Link/Download Link Event Tracking

1982luca
Level 8
Level 8

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

 

1 Accepted Solution
raj_mandalapu
Correct answer by
Community Advisor
Community Advisor

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

 

 

 

 

View solution in original post

5 Replies
AlexisCazes
Community Advisor
Community Advisor

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 

raj_mandalapu
Correct answer by
Community Advisor
Community Advisor

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

 

 

 

 

View solution in original post

1982luca
Level 8
Level 8

hello rajas66269496,

 

Do you mean to add the code here 

1982luca_0-1594607899514.png

Thanks

 

1982luca
Level 8
Level 8
hello rajas66269496, do you mean to add this code here
jantzen_belliston-Adobe
Community Manager
Community Manager
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?