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
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" |
---|
required | true |
---|
|
---|
menuItem | description | "Name of the menu item that the user selected. Values 'inbox', 'bell' and 'more' indicate user testing variants." |
---|
type | "string" |
---|
required | false |
---|
|
---|
session_token | description | "Session token for this funnel." |
---|
type | "string" |
---|
required | true |
---|
|
---|
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" |
---|
required | true |
---|
|
---|
client_dt | description | "Client-side ISO-8601-formatted date-time at which this event occurred." |
---|
type | "string" |
---|
required | true |
---|
|
---|
|
---|