mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-21 09:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,31 @@
|
||||
package com.sbi.analytics
|
||||
{
|
||||
import libraries.uanalytics.tracker.WebTracker;
|
||||
import libraries.uanalytics.tracking.Configuration;
|
||||
|
||||
public class GATracker
|
||||
{
|
||||
|
||||
private static var _tracker:WebTracker;
|
||||
|
||||
public function GATracker()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public static function init() : void
|
||||
{
|
||||
var _loc2_:Configuration = new Configuration();
|
||||
_loc2_.enableThrottling = true;
|
||||
_loc2_.forcePOST = true;
|
||||
var _loc1_:String = (gMainFrame.clientInfo.websiteURL as String).indexOf("stage") != -1 ? "UA-55037062-1" : "UA-16265056-4";
|
||||
_tracker = new WebTracker(_loc1_,_loc2_);
|
||||
}
|
||||
|
||||
public static function trackError(param1:String, param2:Boolean) : Boolean
|
||||
{
|
||||
return _tracker.exception(param1,param2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user