PHP logging

EventLogging::logEvent( 'MobileWikiAppSavedPages', 10375480, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppSavedPages": 10375480
			}
		}
	}
}

JavaScript logging

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

Schema:MobileWikiAppSavedPages

From Meta, a Wikimedia project coordination wiki
Revision 10375480
Jump to navigation Jump to search
description"Track users as they use features related to saved pages"
properties
action
requiredtrue
description"Which action in the funnel this is representing"
type"string"
enum
"savenew"
"update"
"import"
"delete"
"editattempt"
"editrefresh"
"editafterrefresh"
appInstallID
description"AppInstallID 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