error | type | "string" |
---|
required | true |
---|
enum | "no-impression-not-enough-suggestions" |
"no-impression-cannot-load-interface" |
"no-response-cannot-record-user-input" |
|
---|
description | "The errors related to showing WikiGrok.
- no-impression-cannot-fetch-claims: claims cannot be fetched from the server
- no-impression-cannot-fetch-labels: labels cannot be fetched from the server
- no-impression-cannot-fetch-suggestions: suggestions cannot be fetched from the server
- no-impression-not-enough-suggestions: the number of suggestions is not enough to display WikiGrok
- no-impression-cannot-load-interface: interface module fails to load
- no-response-cannot-record-user-input: user response cannot be recorded in the server" |
---|
|
---|
userToken | type | "string" |
---|
required | true |
---|
description | "A token that represents a unique user persisting across sessions." |
---|
|
---|
taskToken | type | "string" |
---|
required | true |
---|
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" |
---|
required | true |
---|
description | "A string identifying the version/design of the WikiGrok widget, e.g. 'mobile b'" |
---|
|
---|
pageId | type | "integer" |
---|
required | true |
---|
description | "ID of the page the user is viewing WikiGrok on." |
---|
|
---|
mobileMode | type | "string" |
---|
required | true |
---|
enum | |
---|
description | "Whether the user is using the stable, beta, or alpha version of the mobile site." |
---|
|
---|
testing | type | "boolean" |
---|
required | false |
---|
description | "Whether the event was generated as part of a test." |
---|
|
---|
isLoggedIn | type | "boolean" |
---|
required | true |
---|
description | "Whether the user is logged in." |
---|
|
---|