views:

26

answers:

0

import com.omniture.ActionSource; var s:ActionSource; function configActionSource():void {

 s = new ActionSource();

 /* Specify the Report Suite ID(s) to track here */
  s.account = "YOURREPORTSUITEHERE";

  /* You may add or alter any code config here - see documentation for more variables */
 s.pageName = "Sample AS3 Script Home";
 s.pageURL = "";

 s.charSet = "UTF-8";
 s.currencyCode = "USD";

 /* Turn on and configure ClickMap tracking here */
 s.trackClickMap = true;
 s.movieID = "Sample_AS3_Script";

 /* Turn on and configure debugging here */
 s.debugTracking = true;
 s.trackLocal = true;

 /* WARNING: Changing any of the below variables will cause drastic changes
 to how your visitor data is collected.  Changes should only be made
 when instructed to do so by your account manager.*/
  s.dc = '112';

 addChild(s);
}
configActionSource();

Any Idea why above is not working? Actually this code is taken as example code from omniture developer's forum. Above code is not giving any traces in Omniture Debugger

Or anyone have any better option regarding AS3 and Omniture Integration.