Schema:MobileLeftNavbarEditCTA

PHP logging

EventLogging::logEvent( 'MobileLeftNavbarEditCTA', 7074652, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileLeftNavbarEditCTA": 7074652
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileLeftNavbarEditCTA', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 7074652
description"Logs events related to the left navbar edit call-to-action on mobile."
properties
action
type"string"
requiredtrue
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)"
requiredtrue
bucket
type"string"
requiredtrue
enum
"test"
"control"
description"Identifies the experimental group a user is randomly assigned to."
clickSource
type"string"
enum
"cta"
"edit"
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"
requiredtrue
enum
"stable"
"beta"
"alpha"
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."