DimaBaliakin / gaforflash

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

page (utmp) missing from trackEvent #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. trackEvent(anything...)

What is the expected output? What do you see instead?
I want to be able to track my events to a certain page in GA (Content -> Events 
-> Pages). I cant do that.
Checking up on the gif string I see (utmp=). I guess utmp needs to be set to 
something?

What version of the product are you using? On what operating system?
Trunk July 4th 2012. Tag 1.0.2... any present version actually =)

Please provide any additional information below.
Tracker.as handles trackEvent
trackEvent calls _sendXEvent
_sendXEvent calls _renderMetricsSearchVariables();
No arguments => (utmp=)

A few suggestions:

new method?
trackPageEvent(pageURL:String, category:String, action:String, label:String = 
null, value:Number = NaN)

alter method?
trackEvent(category:String, action:String, label:String = null, value:Number = 
NaN, pageURL:String = "")

alter flow?
Make calling trackPageview("somepage") cause subsequently tracked events to be 
located at "somepage".

My 5 cents =)

Original issue reported on code.google.com by morten.g...@gmail.com on 4 Jul 2012 at 10:42