Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
SOLVED

File Download Tracking issue

Avatar

Level 2

Recently in one of my analysis I found the below issues with file downloads tracking

1. How do I make sure that File downloads are triggered when a user right clicks on the link?

2. Also the file downloads are not working, when use target="_blank" in the href?

Do we have any fix to handle these two issues?

Note: I cannot manually place link track call functions on all the links, because there are so many of them.

Any guidance would be really helpful!!

Thanks & Regards,

Srinivasan K

1 Accepted Solution

Avatar

Correct answer by
Level 5

Srinivasan Kumar wrote...

Recently in one of my analysis I found the below issues with file downloads tracking

1. How do I make sure that File downloads are triggered when a user right clicks on the link?

2. Also the file downloads are not working, when use target="_blank" in the href?

Do we have any fix to handle these two issues?

Note: I cannot manually place link track call functions on all the links, because there are so many of them.

Any guidance would be really helpful!!

Thanks & Regards,

Srinivasan K

 

 

 

Here are some thoughts 

For your 2nd question - target is a separate attribute from href in anchor tag. Check href, does that include file download extension (PDF,DOC,XLS etc) & if that is already enabled to track in your analytics implementation.You may be using a redirector not a direct file path & in that case, you'll need to identify the anchor tag attributes which can uniquely identify those particular file downloads. Recommending Tag Management tool to track those links otherwise you can make changes in your AppMeasurement analytics JS file to identify those links & fire a file download beacon.

For your first question, I generally believe there would be relatively smaller percentage of visitors using right clicks for file download activity. Also, there is not complete surety that after right click visitor did downloaded the file.

Regards,
Saurabh Kumar.

View solution in original post

2 Replies

Avatar

Level 2

Hi Srinivasan

I am not sure about your first point when you say right click on download track.But I have some basic solution which may can help you.

1- You can enable s.tl function in s.code and start tracking the download link.

2- Also Adobe DTM have option called Automatic Tracking of Exit Links and File Downloads. May be if you use this you can track your downloads.

https://marketing.adobe.com/resources/help/en_US/sc/implement/link_automatic.html

https://marketing.adobe.com/resources/help/en_US/sc/implement/link_variables.html

3- Last option I think you can use any event click or prop variable for this download link tracking and select the element id or class of all download.

Please check these option and let me know If i add anything more.

Regards

Anupam 

Avatar

Correct answer by
Level 5

Srinivasan Kumar wrote...

Recently in one of my analysis I found the below issues with file downloads tracking

1. How do I make sure that File downloads are triggered when a user right clicks on the link?

2. Also the file downloads are not working, when use target="_blank" in the href?

Do we have any fix to handle these two issues?

Note: I cannot manually place link track call functions on all the links, because there are so many of them.

Any guidance would be really helpful!!

Thanks & Regards,

Srinivasan K

 

 

 

Here are some thoughts 

For your 2nd question - target is a separate attribute from href in anchor tag. Check href, does that include file download extension (PDF,DOC,XLS etc) & if that is already enabled to track in your analytics implementation.You may be using a redirector not a direct file path & in that case, you'll need to identify the anchor tag attributes which can uniquely identify those particular file downloads. Recommending Tag Management tool to track those links otherwise you can make changes in your AppMeasurement analytics JS file to identify those links & fire a file download beacon.

For your first question, I generally believe there would be relatively smaller percentage of visitors using right clicks for file download activity. Also, there is not complete surety that after right click visitor did downloaded the file.

Regards,
Saurabh Kumar.