PHP logging

EventLogging::logEvent( 'UploadWizardStep', 18973101, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"UploadWizardStep": 18973101
			}
		}
	}
}

JavaScript logging

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

Schema:UploadWizardStep

From Meta, a Wikimedia project coordination wiki
Revision 18973101
Jump to navigation Jump to search
description"Log of a user entering a certain step of UploadWizard."
properties
flowId
type"string"
requiredtrue
description"Identifies a flow of events (all events which happened in the same upload session, an upload session being someone clicking aroung in UploadWizard but not reloading the page). It is comprised of a timestamp and a random number."
flowPosition
type"integer"
requiredtrue
description"Position within an event flow (first event is 1 etc)."
step
type"string"
requiredtrue
enum
"tutorial"
"file"
"deeds"
"details"
"metadata"
"thanks"
description"UploadWizard step name"
skipped
type"boolean"
description"If true, this step was skipped. We are still logging it to not throw off funnel numbers. (This should only happen for the tutorial step.)"