2012-07-08 52 views
0

我使用的是標準的谷歌Analytics(分析)的JavaScript代碼來跟蹤我的網站的出站鏈接:即使當我添加的Javascript:鏈接的href目標

function recordOutboundLink(link, category, action) { 
    _gat._getTrackerByName()._trackEvent(category, action); 
    setTimeout('document.location = "' + link.href + '"', 100); 
    } 

「目標=‘_空白’到我的鏈接,所有鏈接我試過添加'document.location.target',但腳本還沒有正常工作

回答