zwetan / as3-universal-analytics

Google Universal Analytics for AS3
Mozilla Public License 2.0
73 stars 11 forks source link

error when trying to set sender type #29

Closed dd410 closed 8 years ago

dd410 commented 8 years ago

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 ?