I appreciate your input. thank u so much!!
it works great~
On Wed, Feb 4, 2009 at 6:12 PM, ekameleon ekamel...@gmail.com wrote:
Hello :)
?? use the value false in the last argument of the constructor ? Read the
documentation of the class :
http://code.google.com/p/gaforflash/wiki/API
search the GATracker class reference ;)
The full signature of the constructor is :
GATracker
http://gaforflash.googlecode.com/svn/documentation/com/google/analytics/GATracker.html#GATracker%28%29
(display:DisplayObject,
account:String, mode:String = AS3, visualDebug:Boolean = false, config:
Configuration
http://gaforflash.googlecode.com/svn/documentation/com/google/analytics/v4/Configuration.html
=
null, debug:
DebugConfiguration
http://gaforflash.googlecode.com/svn/documentation/com/google/analytics/debug/DebugConfiguration.html
=
null)
You can disable the visual debug with the parameter visualDebug :
var tracker:AnalyticsTracker = new GATracker( this, UA-111-222, AS3,
false );
or not use the last arguments :
var tracker:AnalyticsTracker = new GATracker( this, UA-111-222, AS3 ) ;
PS : you can use the constructor with only two arguments if you want use
the
default AS3 mode :
var tracker:AnalyticsTracker = new GATracker( this, UA-111-222 ) ;
EKA + :)
2009/2/4 ACE Flash acefl...@gmail.com
Hey there,
How can I turn off the debug mode by as3? so I am able to run it on the
production server. thanks
===
import com.google.analytics.AnalyticsTracker;
import com.google.analytics.GATracker;
import com.google.analytics.debug.*;
var tracker:AnalyticsTracker = new GATracker( this, UA-111-222, AS3,
true );
playGame.addEventListener( MouseEvent.CLICK, onButtonClick );
function onButtonClick( event:Event ):void {
trace(test);
tracker.trackPageview(/myGame1);
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders