PHP logging

EventLogging::logEvent( 'MobileWikiAppiOSSettingAction', 18064085, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppiOSSettingAction": 18064085
			}
		}
	}
}

JavaScript logging

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

Schema:MobileWikiAppiOSSettingAction

From Meta, a Wikimedia project coordination wiki
Revision 18064085
Jump to navigation Jump to search
description"Measure user interaction with the setting on iOS"
properties
category
requiredtrue
description"On which screen this action is triggered"
type"string"
enum
"enable_sync_popover"
"setting"
label
requiredfalse
description"On which element of that screen this action is triggered. When category='setting', this is 'sync_article'. When category is other value, this is NULL."
type"string"
action
requiredtrue
description"Identifies the context in which the event was created."
type"string"
enum
"impression"
"sync"
"unsync"
measure
requiredfalse
description"Placeholder for other actions with a number associated."
type"integer"
app_install_id
description"App install ID that's unique to each app install and is used to track user across this and other features in the mobile app"
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 timestamp when this event occurred"
type"string"
requiredtrue
session_id
description"A unique identifier generated per session"
type"string"
requiredtrue