6/9/2011 1:00:47 AM
Title:
About google analytics in flex
Hello all,
I am currently working on google analytics .
I want to use google analytics in my flex. As I googled it , it has 2 option to do it.
1> it can be done by java script or
2> it can be done by analytics swc which is opensource swc by adobe.
I choose 2nd option and worked with that, but getting error of null object reference.
I need some help in google analytics implementaion with flex but not using Javascript.
1> why tracker object giving me null error with sentence?
tracker = new GATracker(this,"UA-222-111","AS3", false);
2> what is the use of trackerPageView?
tracker.trackPageview("http://some link/some_project/index.html");
Pleas explain me this
Thanks,
Shridhar Kulkarni
6/16/2011 9:38:06 PM
it seems you have not added your analytics.swc file to your project .
To add this you should drop the analytics.swc file into your Flex project under libs directory.