<a  onclick="recordOutboundLink('http://www.honda.com.cn/technology/environmental/car/ima.html', 'clicks', 'clicks+honda_top_flash_0004');return false;" target="_blank">
在参数的后面我加了一个;reuturn false;,这样可以吧? 但是执行的时候不可以。
function recordOutboundLinkURL(link_href, category, label) {

try {
var pageTracker=_gat._getTracker("UA-4753694-1");
pageTracker._trackEvent(category, link_href, label);
setTimeout('document.location = "' + link_href + '"', 100)
}catch(err){}
}这是JS

解决方案 »

  1.   

    a onclick="recordOutboundLinkURL  你少写了URL
      

  2.   

    <a onclick="recordOutboundLink('http://www.honda.com.cn/technology/environmental/car/ima.html', 'clicks', 'clicks+honda_top_flash_0004');return false;" target="_blank">aaaa</a>function recordOutboundLinkURL(link_href, category, label) {try {
    var pageTracker=_gat._getTracker("UA-4753694-1");
    pageTracker._trackEvent(category, link_href, label);
    setTimeout('document.location = "' + link_href + '"', 100)
    }catch(err){}
    }recordOutboundLink
    recordOutboundLinkURL
    ???