Schema:MobileWebWikiGrok

Revision 10735928
description"Logs client-side user interaction with WikiGrok. Responses are stored in a separate log (MobileWebWikiGrokResponse)"
properties
action
type"string"
requiredtrue
enum
"page-impression"
"widget-impression"
"widget-click-nothanks"
"widget-click-accept"
"widget-click-submit"
"widget-click-notsure"
"widget-click-none"
"widget-click-moreinfo"
"widget-impression-success"
description"The actions involved in WikiGrok. - page-impression: the user lands on a page that matches the WikiGrok heuristic criteria (impressions are only logged for eligible users and eligible articles). - widget-impression: the user scrolls the widget into the viewport. The event is fired when at least half of the widget is visible. - widget-click-nothanks: user taps on the 'no thanks' button. - widget-click-accept: user taps on the 'okay' button to accept the task. - widget-click-submit: user submits a response to the task. - widget-click-notsure: user taps the 'not sure' (version A only). - widget-click-none: user taps 'none of the above' and submits a NULL response (version B only). - widget-click-moreinfo: user clicks the 'Tell me more' link to learn more about the feature. - widget-impression-success: The confirmation screen is displayed to the user"
userToken
type"string"
requiredtrue
description"A token that represents a unique user persisting across sessions."
userEditCount
type"integer"
requiredfalse
description"The edit count of the user interacting with WikiGrok."
taskToken
type"string"
requiredtrue
description"A token that represents the current tasks and persists across the WikiGrok funnel, until completion. The token is the key used in the MobileWebWikiGrokResponse to store the user response. The token is renewed when the page is refreshed or the user visits a new page."
taskType
type"string"
requiredtrue
description"A string identifying the version/design of the WikiGrok widget, e.g. 'mobile b'"
pageId
type"integer"
requiredtrue
description"ID of the page the user is viewing WikiGrok on."
mobileMode
type"string"
requiredtrue
enum
"stable"
"beta"
"alpha"
description"Whether the user is using the stable, beta, or alpha version of the mobile site."
widgetOffset
type"number"
requiredtrue
description"The position of the widget relative to the page (independent of user interaction with the widget). It's measured as the distance between the top of the page and the top of the WikiGrok widget and is expressed in multiples of a viewport as a unit. It's logged for all events, including page-impression"
scrollOffset
type"number"
requiredtrue
description"The distance scrolled by the user at the point of an action. It's measured as the distance between the top of the page and the top of the viewport at the time the event is fired and is expressed in multiples of a viewport."
testing
type"boolean"
requiredfalse
description"Whether the event was generated as part of a test."
isLoggedIn
type"boolean"
requiredtrue
description"Whether the user is logged in."