Download link
The ‘Download link’ dimension reports the names of download links implemented on your site. This dimension is valuable when you want to learn more about visitor behavior around download links, such as:
- Which files are downloaded most frequently from your site.
- Whether certain files are downloaded more often during specific time periods.
- Whether visitors download different file types when offered.
Populate this dimension with data
This dimension is populated by link tracking calls (tl()). There is no dedicated variable to set. Instead, send a tl() image request with a link type argument of "d" and set the link name argument to the desired value. The pe query string routes the link name to the correct link dimension (lnk_o for custom links, lnk_d for download links, and lnk_e for exit links). If a link name is not provided, the link URL is used as the dimension value instead, and URL-derived values are not subject to the byte limit.
s.tl(true,"d","Example download link");
Dimension items
Since this variable is based on a custom string in your implementation, your organization determines what the dimension items are. Adobe recommends that you group links into meaningful categories based on your reporting needs. If no link name is provided, dimension items appear as raw URLs instead. These raw URLs are harder to interpret in reports, so provide a descriptive link name wherever possible.