public TrackerBase(string trackingAccount, string trackingDomain, IAnalyticsSession analyticsSession, ITrackerEnvironment trackerEnvironment) { TrackingAccount = trackingAccount; TrackingDomain = trackingDomain; AnalyticsSession = analyticsSession; Hostname = trackerEnvironment.Hostname; Language = "en"; UserAgent = string.Format("GoogleAnalyticsTracker/2.0 ({0}; {1}; {2})", trackerEnvironment.OsPlatform, trackerEnvironment.OsVersion, trackerEnvironment.OsVersionString); CookieContainer = new CookieContainer(); ThrowOnErrors = false; InitializeCharset(); CustomVariables = new CustomVariable[5]; _utmeGenerator = new UtmeGenerator(this); }