PHP logging

EventLogging::logEvent( 'MobileWikiAppiOSNavigationEvents', 21426269, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppiOSNavigationEvents": 21426269
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppiOSNavigationEvents', { /* ... */ } );

Schema:MobileWikiAppiOSNavigationEvents

From Meta, a Wikimedia project coordination wiki
Revision 21426269
Jump to navigation Jump to search
description"Track user navigation and setting actions ."
properties
action
description"Navigation and Setting screen actions."
enum
"explore"
"places"
"saved"
"saved_all"
"saved_lists"
"history"
"search"
"setting_open_nav"
"setting_open_explore"
"setting_account"
"setting_close"
"setting_fundraise"
"setting_languages"
"setting_search"
"setting_explorefeed"
"setting_notifications"
"setting_read_prefs"
"setting_storagesync"
"setting_read_danger"
"setting_cleardata"
"setting_privacy"
"setting_tos"
"setting_usage_reports"
"setting_rate"
"setting_help"
"setting_about"
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
primary_language
description"User's primary language."
type"string"
requiredtrue
is_anon
description"True if user has not logged in."
type"boolean"
requiredtrue
event_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue
session_id
description"A unique identifier randomly generated per session."
type"string"
requiredtrue