Tracking Exits to External Links
Capturing activity across third-party website links to enable Exit Target analysis.
Web pages can contain links to third-party websites, and activity across those links can be captured to enable Exit Target analysis, especially in the case that the third-party site is responsible for paying referral fees when such referrals are received. Because the click event is written to the log files of the third-party system by default, modifications need to be made to the link for the click event to be captured locally. The third-party link present within your website must be modified as follows:
The referenced PageExit.htm file must be created and should be structured to contain the following script:
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0; i<vars.length; i++)
var pair = vars[i].split("=");
if (pair == variable)
By making the request for the PageExit.htm file, the v_eurl value is collected for analysis purposes. Additionally, when PageExit.htm is loaded, it immediately redirects to the specified v_eurl target location.
Value associated with the v_eurl query string variable. This value represents the target URL of the link present within the HTML page.