var pageTracker = _gat._getTracker(hc_urchin);
pageTracker._setCookiePath(cookie_path);/**
* Backwards-compatibility w/ urchinTracker
*
* @param {string} url The URL to track
*/function urchinTracker(url) {
pageTracker._trackPageview(url);
}/**
* General function for tracking outgoing links
* Category is set to ‘Outgoing’ so that they all show up under
* the ‘Outgoing’ category in Analytics
*
* @param {string} link The link to track
*/function trackOutgoing(link) {
pageTracker._trackEvent(‘Outgoing’, link, hc_page_info + ‘ hl=’ + hc_lang);
}/**
* General function for tracking links
*
* @param {string} category The category for the link (i.e., ‘Left Nav’)
* @param {string} link The link to track
*/function track(category, link) {
pageTracker._trackEvent(category, link, hc_page_info + ‘ hl=’ + hc_lang);
}
发表回复