downloadLinkQualifier

If you enable automatic link tracking using clickCollectionEnabled, the downloadLinkQualifier property helps determine the criteria for a URL to be considered a download link.

This property is a regex string. If the clicked URL matches this regex, xdm.web.webInteraction.type is set to "download". Links are also immediately classified as a download link if they include a download HTML attribute. If clickCollectionEnabled is not enabled, this property does nothing.

Set the downloadLinkQualifier string when running the configure command. If you omit this property, it defaults to the following value:

\.(exe|zip|wav|mp3|mov|mpg|avi|wmv|pdf|doc|docx|xls|xlsx|ppt|pptx)$

If you want to use different criteria to qualify download links, set this property to the desired regex value.

alloy("configure", {
  datastreamId: "ebebf826-a01f-4458-8cec-ef61de241c93",
  orgId: "ADB3LETTERSANDNUMBERS@AdobeOrg",
  clickCollectionEnabled: true,
  downloadLinkQualifier: "\.(exe|zip|wav|mp3|mov|mpg|avi|wmv|pdf|doc|docx|xls|xlsx|ppt|pptx)$"
});

The Web SDK tag extension equivalent of this field is under Data collection configuration settings when configuring the tag extension.

recommendation-more-help
1ae86b30-e55e-49c1-ab11-9d0356a5f3e1