C# Class CSharpAnalytics.Protocols.Urchin.UtmeDecoder

Decodes Utme parameter encoded values back into their original unencoded values.
Show file Open project: TechSmith/CSharpAnalytics Class Usage Examples

Public Methods

Method Description
Decode ( string originalUtme, int part, int segment ) : string

Extract a specific segment part and segment from the originalUtme value.

Decompress ( string compressed ) : string[]

Decompresses an array of Utme values back into their full uncompressed array.

UnescapeValue ( string value ) : string

Unescape Utme values back to their unescaped original value.

Method Details

Decode() public static method

Extract a specific segment part and segment from the originalUtme value.
public static Decode ( string originalUtme, int part, int segment ) : string
originalUtme string Original utme value to extract from.
part int Part number of the data to extract. May be 5 for events, 8 to 11 for custom variable labels, values and scopes.
segment int Segment number to extract.
return string

Decompress() public static method

Decompresses an array of Utme values back into their full uncompressed array.
public static Decompress ( string compressed ) : string[]
compressed string Compressed array of Utme values.
return string[]

UnescapeValue() public static method

Unescape Utme values back to their unescaped original value.
public static UnescapeValue ( string value ) : string
value string Utme escaped value.
return string