2013-02-27 47 views
0

我已經成立了一個分析目標與此參數:Analytics(分析)跟蹤事件的目標與獨特價值

Target type: Event 
Category (matching): form 
Action (matching): test 
Label (matching): sent 
Value: nothing 

,我有這個anlytics推:

<script type="text/javascript"> 
_gaq.push(['_trackEvent', 'form', 'test', 'sent', '*dynamic_URI*']); 
</script> 

難道這是否可行呢? * dynamic_URI *會被註冊嗎?

回答

0

https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

_trackEvent(category, action, opt_label, opt_value, opt_noninteraction)  

value (optional) 
An integer that you can use to provide numerical data about the user event. 

所以你不能傳遞一個URL作爲第四( 「值」)參數。

據我所知,價值參數是爲了幫助計算AdWords投資回報率(爲非電子商務事件分配一個$$值)。

0

謝謝你的回答! :)

我做了我的目標女巫我希望將工作的變化。

Type: URL Destination 
Goal URL: /form/test/* 
Match type: Regular Expression Match 

而且我的javascript:

<script type="text/javascript"> 
_gaq.push(['_trackPageview', '/form/test/*dynamic_URI*']); 
</script> 
+0

都能跟得上沒有:/ – Claes 2013-03-04 16:51:34

相關問題