set up your own custom code for file downloads and put the file name into an evar and fire an event
if(s.linkType=='d'){ if(typeof s.linkObject.getAttribute('href') != 'undefined'){ s.url=s.linkObject.getAttribute('href'); s.propxx=s.eVarxx=s.url.substring(s.url.lastIndexOf("/")+1,s.url.length); s.eVaryy="D:"+s.propxx; s.propyy="D=yy"; s.events=s.apl(s.events,"eventzz",",",2); s.linkTrackEvents="eventzz"; } }
In this code we first capture the file name download rather than the entire url string which is in the file download report (also we put it into an evar good for the visit so we can through conversion events against it.
so propxx/evarxx is the downloaded file name we have it in a prop also so we can path the file downloads
We also put it into evar/prop yy the 'D:' prefix is for file download. we also have a 'P:' for page view, and other codes for pathable service calls on a page or flow. This way we can path from the pageview to the file download to a form completion (F:) in propyy makes it easy to path server calls rather than 'page views' etc.
We also fire a file download eventzz. that way we can do a report for campaigns etc and see how many file downloads happened for that campaign then breakdown to see what those filenames are.
Remember to add the correct extensions to s.linkDownloadFileTypes so things get recorded