Extension:CentralNotice/Statuses, reasons and status codes

CentralNotice registers its current status as it goes through the process of determining a user's eligibility for a campaign. It may also register a reason for the status having been selected. These two data points are set as  and   on the   object, and may be inspected via the browser's JavaScript console.

Both are also sent to the server via the call to beacon/impression, making them available in analytics data. (Of course, if a status is somehow set after that call occurs, only the previous status is registered server-side.)

and   are also condensed into a single field, , made up of two numbers separated by a dot. The first number is a code for the status, and the second is a code for reason.

- Availability on Pivot

- not all reasons are coded in .state

- check out .state for most recent stuff