Adobe offers the ability to track outbound links without manually setting the tl()
method for each exit link. Enable this variable if you would like to use automatic link tracking for exit links.
When enabled, AppMeasurement compares any clicked link URL to values in linkInternalFilters
and linkExternalFilters
. If there is a match, an exit link tracking call automatically fires.
Use the Enable click data collection checkbox when configuring the Web SDK. This checkbox handles both exit and download links.
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 outbound links is a checkbox under the Link Tracking accordion when configuring the Adobe Analytics extension.
Click the checkbox to enable automatic exit link tracking.
The s.trackExternalLinks
is a boolean that enables or disables automatic exit link tracking. If you do not want to track outbound links, or would prefer to manually call the tl()
method to track exit links, set this variable to false
.
s.trackExternalLinks = true;