AppMeasurement offers the ability to automatically track links that point outside your site. If trackExternalLinks is enabled, an image request is sent to Adobe right as a visitor clicks a link to leave your site. The linkExternalFilters and linkInternalFilters variables determine what links are considered internal/external.

If this variable contains a value, automatic exit link tracking behaves like a blocklist. If a link click does not match any linkInternalFilters values, it is considered an exit link. The entire URL is examined against this variable. If linkLeaveQueryString is enabled, the query string is also examined.

If you use both linkInternalFilters and linkExternalFilters simultaneously, the clicked link must match linkExternalFilters and not match linkInternalFilters to be considered an exit link. If a clicked link matches both exit link and download link criteria, the download link type takes priority.

Activity map uses this variable to help determine what links are internal to your site. Adobe recommends setting this variable for implementations that use Activity map.


linkInternalFilters and Internal URL filters are separate features that fulfill separate purposes. The linkInternalFilters variable works specifically for exit link tracking. Internal URL filters are an Admin setting that help with traffic sources dimensions like Referring Domain.

The Never Track field is a comma-separated list of filters (usually domains) under the Link Tracking accordion when configuring the Adobe Analytics extension.

  1. Log in to the Data Collection UI using your AdobeID credentials.
  2. Click the desired property.
  3. Go to the Extensions tab, then click the Configure button under Adobe Analytics.
  4. Expand the Link Tracking accordion, which reveals the Outbound Links - Never Track field.

Place filters that you want to never be tracked as exit links in this field. Separate multiple domains by a comma without a space.

s.linkInternalFilters in AppMeasurement and custom code editor

The s.linkInternalFilters variable is a string containing filters (such as domains) that you consider internal to your site. Separate multiple filters using a comma without spaces.

s.linkInternalFilters = ",";

Consider the following implementation example as if it were on

  s.trackExternalLinks = true;
  s.linkInternalFilters = "";

<!-- The following link is an exit link because it does not match the anything under linkInternalFilters -->
<a href = "">Example link 2</a>

On this page