Schema:MobileWikiAppAppearanceSettings

PHP logging

EventLogging::logEvent( 'MobileWikiAppAppearanceSettings', 22451226, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppAppearanceSettings": 22451226
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppAppearanceSettings', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 22451226
description"Measure user interactions with theme and appearance options. Font Sizes are tracked as relative integer values that are offsets from 0 (i.e. negative values are smaller sizes, and positive values are larger sizes), and appropriate values for 'theme' are 'light' and 'dark'. Font theme values are 'sans-serif' and 'serif', 'sans-serif' is the default."
properties
action
requiredtrue
description"Which action in the funnel this is representing. Can be any of: fontSizeChange, themeChange, fontThemeChange, readingFocusMode, or others in the future."
type"string"
current_value
description"The current value of the appearance setting being changed."
type"string"
requiredtrue
new_value
description"The new value of the appearance setting that's been changed."
type"string"
requiredtrue
invoke_source
description"Where in the app was the appearance setting changed. 33 = settings, 31 = pageActionTab"
type"integer"
requiredtrue
anon
description"Whether the user is logged in or anonymous: false = logged in, true = anonymous."
type"boolean"
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