header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Shridhar k
Points:0
Posts:0

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



1
Omaan
Points: 0
Posts:0
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.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+8 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions