File downloads that open in a browser window are recorded as a page view | Community
Skip to main content
Level 2
January 18, 2021
Question

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

  • January 18, 2021
  • 1 reply
  • 851 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Sathya_Murugaiyan
Level 2
May 9, 2023

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=en