public void TrackEvent(string category, string eventName, Boolean online)
        {
            string action = (online ? "" : OFFLINE) + " - " + eventName;

            GaTracker.Send(new HitBuilders.EventBuilder()
                           .SetCategory(category)
                           .SetAction(action)
                           .Build());
        }
        /**
         * Track caught exceptions
         */
        public void TrackException(Exception exception)
        {
            string description = exception.Message + "\nStackTrace:\n" + exception.StackTrace;

            GaTracker.Send(new HitBuilders.ExceptionBuilder()
                           .SetDescription(description)
                           .SetFatal(true)
                           .Build());
        }
 public void TrackScreenView(string screenName, Boolean online)
 {
     screenName = (online ? "" : OFFLINE) + " - " + screenName;
     GaTracker.SetScreenName(screenName);
     GaTracker.Send(new HitBuilders.ScreenViewBuilder().Build());
 }