action | type | "string" |
---|
required | true |
---|
enum | "page-impression" |
"widget-impression" |
"widget-click-nothanks" |
"widget-click-accept" |
"widget-click-submit" |
"widget-click-more" |
"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).
- widget-impression: the user scrolls the widget into the viewport.
- widget-click-nothanks: user taps on the 'no thanks' button.
- widget-click-accept: user taps on the 'okay' button to attempt to answer the question.
- widget-click-submit: user taps one of the three possible options to answer the question (see response field below).
- widget-click-more: user taps the 'Tell me more' link to view more about the feature.
- widget-impression-success: The confirmation screen is displayed to the user" |
---|
|
---|
response | type | "string" |
---|
required | false |
---|
enum | |
---|
description | "Captures the response submitted by the user (only logged on widget-click-submit events)." |
---|
|
---|
userId | type | "string" |
---|
required | true |
---|
description | "User ID (eligible logged in users only)." |
---|
|
---|
userEditCount | type | "integer" |
---|
required | false |
---|
description | "The edit count of the user viewing WikiGrok." |
---|
|
---|
pageId | type | "integer" |
---|
required | true |
---|
description | "ID of the page 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." |
---|
|
---|