public ActionTrackingAttribute(string trackingAccount, Func <HttpActionContext, bool> isTrackableAction)
 {
     Tracker           = new Tracker(trackingAccount, new CookieBasedAnalyticsSession(), new AspNetWebApiTrackerEnvironment());
     IsTrackableAction = isTrackableAction;
 }
 public ActionTrackingAttribute(Tracker tracker)
     : this(tracker, action => true)
 {
 }
 public ActionTrackingAttribute(Tracker tracker, Func <HttpActionContext, bool> isTrackableAction)
 {
     Tracker           = tracker;
     IsTrackableAction = isTrackableAction;
 }
 public ActionTrackingAttribute(string trackingAccount, string actionDescription, string actionUrl)
 {
     Tracker           = new Tracker(trackingAccount, new CookieBasedAnalyticsSession(), new AspNetWebApiTrackerEnvironment());
     ActionDescription = actionDescription;
     ActionUrl         = actionUrl;
 }