PHP logging

EventLogging::logEvent( 'Analytics', 15332607, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"Analytics": 15332607
			}
		}
	}
}

JavaScript logging

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

Schema:Analytics

From Meta, a Wikimedia project coordination wiki
Revision 15332607
Jump to navigation Jump to search
description"ARCHIVED: Test schema for analytics"
properties
name
type"string"
requiredtrue
age
type"number"
requiredfalse
height
type"number"
requiredfalse