Jump to content

Schema:MobileWikiAppTabs

PHP logging

EventLogging::logEvent( 'MobileWikiAppTabs', 18118767, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppTabs": 18118767
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppTabs', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18118767
description"Track user actions when using tabbed browsing."
properties
action
description"Which particular action triggered this event: - openInNew: the user clicked the 'Open link in tab' menu item - enterList: the user entered the tab list context - createNew: the user clicked the 'Add tab' button - close: the user closed one of the tabs in the list - select: the user selected one of the tabs in the list - cancel: the user backed out of the tab selection context"
enum
"openInNew"
"enterList"
"createNew"
"close"
"select"
"cancel"
type"string"
requiredtrue
tabCount
description"Total number of tabs that are currently available."
type"integer"
requiredfalse
tabIndex
description"The index of the tab on which the current action occurred."
type"integer"
requiredfalse
session_token
description"Session token for this interaction funnel, i.e. starts when the user enters the tab selection context, and ends with the user either selecting a tab, creating a new tab, or backing out."
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