The variable is used to determine which links on your site are exit links.
It is a comma-separated list of filters that represent the links that are part of the site.
Paths > Entries & Exits > Exit Links
variable is used to determine whether a link is an exit link, which is defined as any link that takes a visitor away from your site. Whether the target window of an exit link is a pop-up, or the existing window, does not affect whether the link appears in the exit links report. Exit links are only tracked if
is set to
in the Dynamic Tag management documentation for information about how DTM handles exit links.) The filters in
are not case-sensitive.
The list of filters in
applies to the domain and path of any link by default. If
is set to
, then the filters apply to the entire URL (domain, path, and query string). The filters are always applied to the absolute path of the URL, even if a relative path is used as the href value.
The following example illustrates how this variable is used. In this example, the URL of the page is
<a href="https://www.mysite.com">Not an Exit Link</a>
<a href="/careers/job_list.html">Not an Exit Link</a>
<a href="https://www2.site3.com">Exit Link</a>
<a href="https://www2.site1.com/partners/">Exit Link</a>
Syntax and Possible Values
variable is a comma-separated list of ASCII characters. No spaces are allowed.
Pitfalls, Questions, and Tips
Periodically check the Paths > Entries & Exits > Exit Links report to make sure that none of the entries in that report are incorrect.
Periodically review partner contracts to determine if they contain restrictions on link tracking. For example, you might be prohibited from tracking links that appear in partner display ads. Filter partner links by adding their domain to
Automatic Tracking of Exit Links and File Downloads
The parameters that control automatic tracking are as follows:
determine if automatic file download and exit link tracking are enabled. When enabled, any link with a file type matching one of the values in
is automatically tracked as a file download. Any link with a URL that does not contain one of the values in
is automatically tracked as an exit link.
attributes that start with
The file types
are not included in
above, therefore no clicks on them are automatically tracked and reported as file downloads.
modifies the logic used to determine exit links. When
=false, exit links are determined using only the domain, path, and file portion of the link URL. When
=true, the query string portion of the link URL is also used to determine an exit link.
With the following settings, the example below will be counted as an exit link:
<a href='https://othersite.com/index.html?r=mysite.com'>Visit Other Site!</a>
With the following settings, the link below is not counted as an exit link:
<a href='https://othersite.com/index.html?r=mysite.com'>Visit Other Site</a>
Note: A single link can be tracked only as a file download or exit link, with file download taking priority. If a link is both an exit link and file download based on the parameters
, it is tracked and reported as a file download and not an exit link.