public override void Process(TrafficTypeArgs args) { try { // 2. Traffic Generator Traffic Type Processor string queryStringValue = QueryStringHelper.SessionKeyword; args.Visit.Keywords = Tracker.Visitor.DataContext.GetKeywords(queryStringValue); } catch (Exception exp) { Log.Error("Traffic Generator Keyword parse referrer pipeline: " + exp.InnerException, this); } }
public override void Process(TrafficTypeArgs args) { try { // 1. Set Traffic Type int? trafficType = QueryStringHelper.SessionTrafficType; if (trafficType.HasValue) args.Visit.ReferringSite.TrafficType = trafficType.Value; base.Process(args); } catch (Exception exp) { Log.Error("Traffic Generator Traffic Type pipeline: " + exp.InnerException, this); } }