action | type | "string" |
---|
required | true |
---|
enum | "page-impression" |
"cta-impression" |
"page-edit-click" |
"page-edit-impression" |
"page-save-attempt" |
"page-save-success" |
|
---|
description | "Possible actions involved in the Edit CTA funnel.
- page-impression: user is redirected to the referral page. This event is logged only on main namespace, editable pages and stores the bucket ID
- cta-impression: The call to action is displayed (test condition only)
- page-edit-click - user clicks through to edit the page, if editable (see clickSource below)
- page-edit-impression - user opens the edit screen of the referral page, if editable
- page-save-attempt - user attempts to save an edit on the referral page, if editable
- page-save-success - users successfully saves a non-empty edit on the referral page, if editable. The rev_id associated with this event is the one of the new revision" |
---|
|
---|
userId | type | "integer" |
---|
description | "User ID (events from anonymous users are not logged)" |
---|
required | true |
---|
|
---|
bucket | type | "string" |
---|
required | true |
---|
enum | |
---|
description | "Identifies the experimental group a user is randomly assigned to." |
---|
|
---|
clickSource | type | "string" |
---|
enum | |
---|
description | "Identifies the UI elements the user clicked before landing on the edit screen, only logged for page-edit-click actions. 'cta' is only available for test." |
---|
|
---|
mobileMode | type | "string" |
---|
required | true |
---|
enum | |
---|
description | "Whether the user is seeing the regular non-beta, beta, or alpha version of the mobile site." |
---|
|
---|
pageId | type | "integer" |
---|
description | "ID of the referral page the user is invited to edit, or currently attempting to edit, if available. Only the first page the user lands on after registration is logged." |
---|
|
---|
pageNamespace | type | "integer" |
---|
description | "Namespace of the referral page (associated with all events, even if pageId is unavailable)." |
---|
|
---|
isEditable | type | "boolean" |
---|
description | "True if the referral page the user is invited (or attempting) to edit is editable based on user privileges. This event is logged on all page-* actions.
This is based on quickUserCan/wgIsProbablyEditable, so it may provide a false positive in some edge cases (such as cascading protection), but should never provide false negatives." |
---|
|
---|
revId | type | "integer" |
---|
description | "ID of the current revision of the page. Will be the new rev_id for page-save-success events." |
---|
|
---|