Adobe offers the ability to track download links without manually setting the tl() method for each download link. Enable this variable if you would like to use automatic link tracking for download links.

When enabled, AppMeasurement compares any clicked link URL to values in linkDownloadFileTypes. If there is a match, a download link tracking call automatically fires.

Track download links is a checkbox under the Link Tracking accordion when configuring the Adobe Analytics extension.

  1. Log in to the Data Collection UI using your AdobeID credentials.
  2. Click the desired property.
  3. Go to the Extensions tab, then click the Configure button under Adobe Analytics.
  4. Expand the Link Tracking accordion, which reveals the Track download links checkbox.

Click the checkbox to enable automatic download link tracking.

The s.trackDownloadLinks is a boolean that enables or disables automatic download link tracking. If you do not want to track download links, or would prefer to manually call the tl() method to track downloads, set this variable to false.

s.trackDownloadLinks = true;

On this page