Jump to content

Schema:MobileWikiAppNavMenu

PHP logging

EventLogging::logEvent( 'MobileWikiAppNavMenu', 21870873, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppNavMenu": 21870873
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppNavMenu', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21870873
description"Track user actions when using the left Nav Menu."
properties
action
description"Which particular action triggered this event: - open: the user opened the menu - cancel: the user canceled the menu without making a selection - select: the user selected an item from the menu"
enum
"open"
"cancel"
"select"
"show"
type"string"
requiredtrue
menuItem
description"Name of the menu item that the user selected. Values 'inbox', 'bell' and 'more' indicate user testing variants."
type"string"
requiredfalse
session_token
description"Session token for this funnel."
type"string"
requiredtrue
app_install_id
description"Randomly generated UUID that is unique to each app install, which can be used to cross-reference the same app install across different schemas."
type"string"
requiredtrue
client_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue