mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01: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,41 @@
|
||||
package com.sbi.analytics
|
||||
{
|
||||
import libraries.uanalytics.tracker.WebTracker;
|
||||
import libraries.uanalytics.tracking.Configuration;
|
||||
|
||||
public class GATracker
|
||||
{
|
||||
|
||||
private static var _tracker:WebTracker;
|
||||
|
||||
private static var _eventTracker:WebTracker;
|
||||
|
||||
public function GATracker()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public static function init() : void
|
||||
{
|
||||
var _loc3_:Configuration = new Configuration();
|
||||
_loc3_.enableThrottling = true;
|
||||
_loc3_.forcePOST = true;
|
||||
_loc3_.forceSSL = true;
|
||||
var _loc1_:String = (gMainFrame.clientInfo.websiteURL as String).indexOf("stage") != -1 ? "UA-55037062-1" : "UA-16265056-4";
|
||||
var _loc2_:String = (gMainFrame.clientInfo.websiteURL as String).indexOf("stage") != -1 ? "UA-55037062-1" : "UA-16265056-1";
|
||||
_tracker = new WebTracker(_loc1_,_loc3_);
|
||||
_eventTracker = new WebTracker(_loc2_,_loc3_);
|
||||
}
|
||||
|
||||
public static function trackError(param1:String, param2:Boolean) : Boolean
|
||||
{
|
||||
return _tracker.exception(param1,param2);
|
||||
}
|
||||
|
||||
public static function trackEvent(param1:String, param2:String, param3:String = "", param4:int = -1) : Boolean
|
||||
{
|
||||
return _eventTracker.event(param1,param2,param3,param4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user