---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of related component: Documentation
URL of the documentation page :
http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html
Issue summary:
It might be helpful to change the _trackEvent "Values" examples to make it a
little more clear that the value needs to be typecast as a number.
If you provide a String(123) / "123" - let's say you've caught a number from an
input on the page, a pretty typical use-case - then it fails silently.
Suggest:
_gaq.push(['_trackEvent', 'Videos', 'Video Load Time', 'Gone With the Wind',
Number(downloadTime)]);
... or adding a note down the bottom of the section where you talk about
negative integers.
Silly of me to get caught out really, but still - might save someone else some
time if it's a bit more explicit.
Cheers
J.
Original issue reported on code.google.com by jimbomor...@gmail.com on 21 Nov 2011 at 8:34
Original issue reported on code.google.com by
jimbomor...@gmail.com
on 21 Nov 2011 at 8:34