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);
}
科技爱好者周刊(第 320 期):乒乓仓
1 天前
没有评论:
发表评论