soumavachakraborty / gaforflash

Automatically exported from code.google.com/p/gaforflash
Apache License 2.0
0 stars 0 forks source link

Value parameter in trackEvent() incorrectly typed #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create tracker object (GATracker, though I assumer FlexTracker would
produce the same results)
2. call myTracker.trackEvent("Category", "Action", "Description", 12.34);
3.

What is the expected output? What do you see instead?
Event should be logged in analytics.  Event fails to log because the
gaforflash API accepts Number for the 4th parameter but the Google
Analytics API only accepts integers.

What version of the product are you using? On what operating system?
v1.0.1.234, OSX 10.6

Please provide any additional information below.
Google Analytics Event API:
http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html

Original issue reported on code.google.com by mikewalt...@gmail.com on 8 Jan 2010 at 4:57

GoogleCodeExporter commented 8 years ago
I can confirm the same happens in FlexTracker, you must pass value as an 
interger, 
decimals will cause the event not to be logged.

Original comment by chrislutte@hotmail.com on 13 Jan 2010 at 2:30