Analytics/Archive/Infrastructure/Data Formats/X-CS

'''This page is archived! Find up-to-date documentation at https://wikitech.wikimedia.org/wiki/Analytics'''

The X-CS HTTP header is used by analytics for tracking data for later analysis. It is made up of serialized key/value pairs.

Example: X-CS: mf-m=b;zero=502-13

Tracked values
Mobile
 * mf-m: MobileFrontend mode, eg when a user is using the stable, beta, or alpha version of the mobile site
 * Possible values: 'b' (beta), 'a' (alpha). NB that when a user is in the 'stable' mode, there is no key/value set.
 * zero: A short code set by ZeroRatedMobileAccess