Пример #1
0
 public string ToUtme()
 {
     return("8(" +
            string.Join("*", _variables.Where(v => v != null).Select(kvp => AnalyticsClient.EncodeUtmePart(kvp.Value.Key)).ToArray()) +
            ")9(" +
            string.Join("*", _variables.Where(v => v != null).Select(kvp => AnalyticsClient.EncodeUtmePart(kvp.Value.Value)).ToArray()) +
            ")11(" +
            string.Join("*", _variables.Where(v => v != null).Select(kvp => "1").ToArray()));
 }
Пример #2
0
 public AnalyticsSession(string domain, string trackingCode)
 {
     _analyticsClient = new AnalyticsClient(domain, trackingCode);
 }
Пример #3
0
 public AnalyticsSession(string domain, string trackingCode, int userRandomNumber, int visitCount, DateTime?firstVisitTimeStamp)
 {
     _analyticsClient = new AnalyticsClient(domain, trackingCode, userRandomNumber, visitCount, firstVisitTimeStamp);
 }
Пример #4
0
 public AnalyticsSession(string domain, string trackingCode, int userRandomNumber, int visitCount, DateTime? firstVisitTimeStamp)
 {
     _analyticsClient = new AnalyticsClient(domain, trackingCode, userRandomNumber, visitCount, firstVisitTimeStamp);
 }
Пример #5
0
 public AnalyticsSession(string domain, string trackingCode)
 {
     _analyticsClient = new AnalyticsClient(domain, trackingCode);
 }