Exit link tracking is very important for most sites more so if you are an affiliate site (if you send traffic to other site through your review links or product links) since your revenue stream is directly related to the amount of traffic you send. It is also helpful in understanding which links are browsers taking as they exit your site. Omniture SiteCatalyst provides out of the box exit link tracking functionality.
Because clicking a link often takes a visitor off the current page, a 500 ms delay is used to ensure that an image request is sent to Omniture before the user leaves the page. This delay is only necessary when leaving the page, but is typically present when the tl() function is called. If you want to disable the delay, pass the keyword 'true' as the first parameter when calling the tl() function. The first parameter is typically the object being clicked on, but if true is used, there will be no delay. e.g.
Use a 500 ms delay to insure data is collected before leaving the page.
Disable the 500 ms delay when the user is not going to leave the page.
The parameter trackExternalLinks determines if automatic exit links tracking is enabled. When enabled,any link with a URL that does not contain one of the values in linkInternalFilters will be automatically tracked as an exit link.
The parameter linkLeaveQueryString modifies the logic used to determine exit links. When
linkLeaveQueryString=false, exit links are determined using only the domain, path and file portion of the link URL. When linkLeaveQueryString=true, the query string portion of the link URL is also used to determine an exit link.
Eg. Exit Link
The basic code to track a link using custom link code is shown in the following example.
Two SiteCatalyst parameters (linkTrackVars and linkTrackEvents) control which SiteCatalyst variables are set for exit links and custom links, and are, by default, set within the JS file as follows.
For example to track "prop1", "eVar1", and "event1" with exit link, and custom link,use the following settings within the global JS file:
Paths > Entries & Exits > Exit Links