
OneWeb.Analytics.GoogleAnalytics={}
OneWeb.Analytics.GoogleAnalytics.Provider=function(account){
OneWeb.Analytics.Provider.call(this,account);
var gaTracker=null;
this.getTracker=function(){return gaTracker;}
this.setTracker=function(tracker){gaTracker=tracker;}}
OneWeb.Analytics.GoogleAnalytics.Provider.prototype=new OneWeb.Analytics.Provider();
OneWeb.Analytics.GoogleAnalytics.Provider.prototype.constructor=OneWeb.Analytics.GoogleAnalytics.Provider;
OneWeb.Analytics.GoogleAnalytics.Provider.prototype.initialize=function(){
if(typeof _gat!="undefined"){
this.setTracker(_gat._getTracker(this.getAccount()));
this.getTracker()._initData();}}
OneWeb.Analytics.GoogleAnalytics.Provider.prototype.track=function(address){
if(this.getTracker())
this.getTracker()._trackPageview(address);}
OneWeb.Analytics.GoogleAnalytics.Provider.prototype.trackEvent=function(){
var args=null;
if(arguments.length<2){
throw "Google Analytics trackEvent requires at least 2 parameters";}
if(this.getTracker())
this.getTracker()._trackEvent.apply(this.getTracker(),arguments);}

