Main Points

This page is under heavy testing. Don't expect it to make much sense at this point, but if you have any suggestions, we'd love to hear from you. For more information check out our explanation of the code.

View Analytics Data

A comparison of "original" data in the request vs. the modified data from the sanitization function.

  • Key / Value Pair: [first]: first Form string
  • Key / Value Pair: [HTTP_USER_AGENT]: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
  • Key / Value Pair: [HTTP_USER_AGENT Sanitized]: CCBot__slash__1.0 http__colon____slash____slash__www.commoncrawl.org__slash__bot.html
  • Key / Value Pair: [URL]: /ECBeta/Testing/AspNet/CSharpProgramming/CSharp0701ExtendingCustomAnalyticsOutput.aspx
  • Key / Value Pair: [URL Sanitized]: __slash__ECBeta__slash__Testing__slash__AspNet__slash__CSharpProgramming__slash__CSharp0701ExtendingCustomAnalyticsOutput.aspx
  • Key / Value Pair: [HTTP_ACCEPT_LANGUAGE]: en-us,en;q=0.5
  • Key / Value Pair: [HTTP_ACCEPT_LANGUAGE Sanitized]: en-us,en__semicolon__q0.5
  • Key / Value Pair: [REMOTE_ADDR]: 38.107.179.224
  • Key / Value Pair: [REMOTE_ADDR Sanitized]: 38.107.179.224
  • Key / Value Pair: [REMOTE_HOST]: 38.107.179.224
  • Key / Value Pair: [REMOTE_HOST Sanitized]: 38.107.179.224
  • Key / Value Pair: [HTTP_ACCEPT]: text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  • Key / Value Pair: [HTTP_ACCEPT Sanitized]: text__slash__html,application__slash__xhtmlxml,text__slash__xml__semicolon__q0.9,text__slash__plain__semicolon__q0.8,image__slash__png,__slash____semicolon__q0.5
  • Key / Value Pair: [HTTP_ACCEPT_CHARSET]: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  • Key / Value Pair: [HTTP_ACCEPT_CHARSET Sanitized]: ISO-8859-1,utf-8__semicolon__q0.7,__semicolon__q0.7
  • Key / Value Pair: [HTTP_ACCEPT_ENCODING]: gzip
  • Key / Value Pair: [HTTP_ACCEPT_ENCODING Sanitized]: gzip
  • Key / Value Pair: [last]: last Form string

Using AnalyticsRequestValues

Now that I've implemented AnalyticsRequestValues, I have a more simplified and robust way of gathering the analytics data I want, passing it around the application, manipulating and parsing it, and storing / retrieving it from a DB.

  • Key / Value Pair: [EcDateTime]: 2012/05/20 22:31:04
  • Key / Value Pair: [HTTP_USER_AGENT]: CCBot__slash__1.0 http__colon____slash____slash__www.commoncrawl.org__slash__bot.html
  • Key / Value Pair: [URL]: __slash__ECBeta__slash__Testing__slash__AspNet__slash__CSharpProgramming__slash__CSharp0701ExtendingCustomAnalyticsOutput.aspx
  • Key / Value Pair: [HTTP_ACCEPT_LANGUAGE]: en-us,en__semicolon__q0.5
  • Key / Value Pair: [REMOTE_ADDR]: 38.107.179.224
  • Key / Value Pair: [REMOTE_HOST]: 38.107.179.224
  • Key / Value Pair: [HTTP_REFERER]: {Empty String}
  • Key / Value Pair: [HTTP_ACCEPT_CHARSET]: ISO-8859-1,utf-8__semicolon__q0.7,__semicolon__q0.7
  • Key / Value Pair: [HTTP_ACCEPT]: text__slash__html,application__slash__xhtmlxml,text__slash__xml__semicolon__q0.9,text__slash__plain__semicolon__q0.8,image__slash__png,__slash____semicolon__q0.5
  • Key / Value Pair: [HTTP_ACCEPT_ENCODING]: gzip

Section3

Paragraph3.

Conclusion.