trackDownLoadLinks
ÃÛ¶¹ÊÓƵ 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.
Enable or disable click collection using the Web SDK extension
Use the Enable click data collection checkbox when configuring the Web SDK. This checkbox handles both exit and download links.
- Log in to using your ÃÛ¶¹ÊÓƵID credentials.
- Click the desired tag property.
- Go to the Extensions tab, then click the Configure button under ÃÛ¶¹ÊÓƵ Experience Platform Web SDK.
- Under Data Collection, click the Enable click data collection checkbox.
Enable or disable click collection manually implementing the Web SDK
Configure the SDK using clickCollectionEnabled
. The field is a boolean that determines if data associated with link clicks are automatically collected. Its default value is true
. Set this value to false
if you want to disable automatic link tracking. This setting handles automatic link tracking for both download and exit links.
alloy("configure", {
"clickCollectionEnabled": true
});
Track download links using the ÃÛ¶¹ÊÓƵ Analytics extension
Track download links is a checkbox under the Link Tracking accordion when configuring the ÃÛ¶¹ÊÓƵ Analytics extension.
- Log in to using your ÃÛ¶¹ÊÓƵID credentials.
- Click the desired tag property.
- Go to the Extensions tab, then click the Configure button under ÃÛ¶¹ÊÓƵ Analytics.
- Expand the Link Tracking accordion, which reveals the Track download links checkbox.
Click the checkbox to enable automatic download link tracking.
s.trackDownloadLinks in AppMeasurement and the Analytics extension custom code editor
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;