var config:Configuration = new Configuration();
config.senderType = "libraries.uanalytics.tracker.senders.TraceHitSender";
var tracker:WebTracker = new WebTracker( "UA-12345-67", config );
tracker.pageview( "/hello/world", "Hello World" );
and iam getting error:
ReferenceError: Error #1065: Variable TraceHitSender is not defined.
at flash.system::ApplicationDomain/getDefinition()
at libraries.uanalytics.tracker::WebTracker/_ctor()[/Volumes/prototype/libraries/as3-universal-analytics/src/libraries/uanalytics/tracker/WebTracker.as:91]
at libraries.uanalytics.tracker::DefaultTracker()[/Volumes/prototype/libraries/as3-universal-analytics/src/libraries/uanalytics/tracker/DefaultTracker.as:135]
at libraries.uanalytics.tracker::WebTracker()[/Volumes/prototype/libraries/as3-universal-analytics/src/libraries/uanalytics/tracker/WebTracker.as:71]
iam using code from example:
var config:Configuration = new Configuration(); config.senderType = "libraries.uanalytics.tracker.senders.TraceHitSender"; var tracker:WebTracker = new WebTracker( "UA-12345-67", config ); tracker.pageview( "/hello/world", "Hello World" );
and iam getting error: ReferenceError: Error #1065: Variable TraceHitSender is not defined. at flash.system::ApplicationDomain/getDefinition() at libraries.uanalytics.tracker::WebTracker/_ctor()[/Volumes/prototype/libraries/as3-universal-analytics/src/libraries/uanalytics/tracker/WebTracker.as:91] at libraries.uanalytics.tracker::DefaultTracker()[/Volumes/prototype/libraries/as3-universal-analytics/src/libraries/uanalytics/tracker/DefaultTracker.as:135] at libraries.uanalytics.tracker::WebTracker()[/Volumes/prototype/libraries/as3-universal-analytics/src/libraries/uanalytics/tracker/WebTracker.as:71]
Any idea what iam doing wrong ?