Jump to content

Schema:EUCCStats

PHP logging

EventLogging::logEvent( 'EUCCStats', 18341891, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"EUCCStats": 18341891
			}
		}
	}
}

JavaScript logging

mw.track( 'event.EUCCStats', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18341891
description"Statistical data of ContactMEP form"
properties
language
type"string"
requiredtrue
description"Language code"
selectedIssues
type"array"
requiredfalse
description"Array of issues user selected"
representativeName
type"string"
requiredtrue
description"Name of the representative being contacted"
newsletterSignup
type"boolean"
requiredtrue
description"Whether user has subscribed to the newsletter"