Jump to content

Schema:Analytics

PHP logging

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

extension.json setup for JavaScript logging

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

JavaScript logging

mw.track( 'event.Analytics', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 15332607
description"ARCHIVED: Test schema for analytics"
properties
name
type"string"
requiredtrue
age
type"number"
requiredfalse
height
type"number"
requiredfalse