nsdevaraj / gaforflash

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

Track Event only takes Integer type, not Number as in method signature #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

import com.google.analytics.GATracker;

// setup tracker
 var tracker:GATracker = new GATracker(this, "UA-111-222", "AS3", true);
// make simple track event with a numeric value
 tracker.trackEvent("MyCategory", "MyEvent", "Title1", 10.5);

What is the expected output? What do you see instead?

I would expect that the call to track the event would be sent to the 
servers as per normal.

No call ever gets sent to the GA servers, but the call shows up in the 
gaforflash visual debugger.

What version of the product are you using? On what operating system?
1.01 / Windows Vista (but the OS should not make a difference)

Please provide any additional information below.

I am logging this on behalf of Kenny Bunch who wrote about the issue here
(http://www.kennybunch.com/blog/2009/03/bug-flash-google-analytics-
trackevent/)

Original issue reported on code.google.com by aran.rhee@gmail.com on 4 Mar 2009 at 1:47

GoogleCodeExporter commented 9 years ago

Original comment by zwetan on 16 Apr 2010 at 3:22

GoogleCodeExporter commented 9 years ago
I have a similiar issue, though not exactly... I'm tracking events and sending 
values that are integers (either by type or rounded Number), but still I get 
the feeling that somehow the interface is treating them as Numbers (ang 
ignoring or zeroing). Well, ok, theoretically the argument to trackEvent is 
Number, and while I'm sending there integer it should stay integer.. then how 
to explain this:

I see in visual debug that they are tracked, and GIFs are sent... and I see the 
categories and actions coming up on the GA page. However I can't see the labels 
and values of this event. Values are all zero.

Original comment by koshmaar...@gmail.com on 5 Mar 2013 at 10:53

Attachments: