PHP logging

EventLogging::logEvent( 'SignupExpAccountCreationComplete', 8539421, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"SignupExpAccountCreationComplete": 8539421
			}
		}
	}
}

JavaScript logging

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

Schema:SignupExpAccountCreationComplete

From Meta, a Wikimedia project coordination wiki
Revision 8539421
Jump to navigation Jump to search
description"Represents a successful account creation. (Fired for all experimental buckets)"
properties
token
type"string"
description"The randomly generated, identifying token (if available, otherwise not set)"
userId
type"integer"
requiredtrue
description"The identifier for the newly created user account."