If your site contains many links to external sites, and you do not want to track all exit links, use to report on a specific subset of exit links.
Paths > Entries & Exits > Exit Links
variable is an optional variable used in conjunction with
to determine whether a link is an exit link. An exit link is defined as any link that takes a visitor away from your site. Whether the target window of an exit link is a popup or the existing window, it does not affect whether the link appears in the exit links report. Exit links are tracked only if
is set to 'true.' The filters in
are case insensitive.
If you don't want to use
, delete it or set it to "".
The filters list in
apply to the domain and path of any link by default. If
is set to 'true,' the filters apply to the entire URL (domain, path, and query string). These filters are always applied to the absolute path of the URL, even if a relative path is used as the href value.
Most companies find that
gives them enough control over exit links that they don't need
simply decreases the likelihood that an exit link is considered external. If
has a value, then a link is considered only external if it does not match
and does match
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">Not an Exit Link</a>
<a href="https://www.site1.com">Exit Link</a>
<a href="https://www2.site3.com/partners/offer.asp">Exit Link</a>
Syntax and Possible Values
variable is a comma-separated list of ASCII characters. No spaces are allowed.
Any portion of a URL might be included in
, separated by commas.
Pitfalls, Questions, and Tips
can result in fewer links on your site being exit links. Do not use this variable in place of
to force internal links to become exit links.
should be applied to the query string of a link, make sure
is set to 'true.' See
before setting to
To disable exit link tracking, set