We need an event logging schema ready for sending the responses of the quick surveys.
Initial version of fields needed:
So "platform" will be a mandatory enum value with "web", "androidapp", and "iosapp" as options.
"presentation" is an optional string. In the description of this field, maybe try this:
For web, specify the skin name. For apps, specify the form factor and the stage (i.e., {tablet|phone|wearable}-{stable|beta|alpha|prototype}) such as "tablet-alpha".
- String: survey code name
- String: survey response value (e.g., answer the user selected, using the i18n key (not the localized value))
- String: platform (clients would specify "web" or "app")
- String: presentation (clients would specify: for the web, the skin name; for apps the form factor and the stage (i.e., {tablet|phone|wearable}-{stable|beta|alpha|prototype}) such as "tablet-alpha"))
- Boolean: whether the user was logged in.
- Enum: editCountBucket ( "0 edits", "1-4 edits", "5-99 edits", "100-999 edits", "1000+ edits")
- String: Country code, if known (n.b., this is available from the GeoIP cookie's first field in its colon separated list). "Unknown" if unknown.
Iterate and ping people to get feedback and try to get it as complete as we can so that we don't have to change it once deployed.