You can
limit your tracking to specific links on a given page and base the
tracking decision on an attribute that you have defined and placed
into the HTML for the links to track. This approach enables you to
avoid gathering tracking data for all of the other links on the page.
For example,
you can track links with a TRACKME attribute set to 1. With this attribute
implemented, a link in the format
<A HREF=”http://www.sas.com”>SAS</A>
would change to
<A HREF=”http://www.sas.com”
TRACKME=1>SAS</A>
To implement
this approach, ensure that
st_cfg.cap['L']="";
has been entered to enable link tracking. Then, define the st_trk
function in the SASSiteConfig.js file as follows:
function st_trk
{
switch(o.nodeName.toLowerCase())
{
case ‘a’: // Link elements
if (o.attributes[‘TRACKME’].value==’1’) return true;
return false;
break;
default:
return true;
}
}