2011-11-22 2 views

답변

1

당신은 다른 사람으로부터 지역을 구분하기 위해, 사용자 정의 메시지를 추적 할 수 있습니다

$('.local-link').click(function() { 
    _gaq.push(['_trackEvent', 'Local link', 'click', 'some extra message here']); 
}); 

당신은 구글 페이지에 구글 사용자 정의 이벤트에 대한 자세한 내용을보실 수 있습니다 http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html

0

당신은 하나 개의 OnClick 이벤트 여러 함수를 호출 할 수 있습니다 :

onClick="_gaq.push(['_trackEvent', 'Videos', 'Play', 'Gone With the Wind']); foobar();" 

또는 OnMouseDown 또는 OnMouseUp과 같은 다른 JS 작업에 이벤트 추적을 첨부 할 수 있습니다.