Expand my Community achievements bar.

File downloads that open in a browser window are recorded as a page view

Avatar

Level 2

We are migrating from DTM to Launch

We are using Adobe Analytics extension v1.8.5

AppMeasurement version 2.22.0.

Allowing the extension to manage the library for us.

"Track download links" is selected

 

When a browser "downloads" a file, and saves it, everything works fine.

The Lnk_d is recorded and sent to adobe analytics.

 

HOWEVER, if a browser clicks on a download link AND opens the file in a browser window (typically, a PDF link) the Adobe Launch java script appears to download as well, a beacon is sent, and the downloaded file is also recorded as a page view.

The "lnk_d" is recorded correctly (appears as a downloaded file as well as a page view)

 

How do we fix this?MKS Screenshot 2021-01-18 141618.png

1 Reply

Avatar

Level 2

If you want to track the download link as a non-page view call, you must create a rule and write a custom code.

The following is the syntax for tracking download links.
s.tl(true, "d", "user-defined name");

If you have any doubts, take a look at this: https://experienceleague.adobe.com/docs/analytics/implementation/vars/functions/tl-method.html?lang=...