PHP logging

EventLogging::logEvent( 'MobileWikiAppCreateAccount', 18115095, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppCreateAccount": 18115095
			}
		}
	}
}

JavaScript logging

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

Schema:MobileWikiAppCreateAccount

From Meta, a Wikimedia project coordination wiki
Revision 18115095
Jump to navigation Jump to search
description"Track user actions when using the createaccount screen."
properties
action
description"Which particular action triggered this event."
enum
"start"
"success"
"captchaShown"
"captchaFailure"
"error"
type"string"
requiredtrue
source
description"How the user came to the screen."
enum
"edit"
"blocked"
"navigation"
"onboarding"
type"string"
requiredfalse
session_token
description"Session token for this create account funnel."
type"string"
requiredtrue
loginSessionToken
description"Session token of login funnel from which this create account flow was started."
type"string"
requiredfalse
errorText
description"Error response from the create account method, if any."
type"string"
requiredfalse
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