Schema:WikipediaZeroUsage

PHP logging

EventLogging::logEvent( 'WikipediaZeroUsage', 14574251, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"WikipediaZeroUsage": 14574251
			}
		}
	}
}

JavaScript logging

mw.track( 'event.WikipediaZeroUsage', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 14574251
description"Logs the Zero-related wiki usage"
properties
xcs
description"The Mobile Country Code-Mobile Network Code tuple of the network."
type"string"
requiredtrue
net
description"The name of the configuration ip subnetwork as configured by Zero admin"
type"string"
requiredfalse
action
description"Action the user performed: bannerclick - user clicked on the zero banner extlink - ext link clicked without getting any warnings extlink-auto - ext link clicked and navigated to without a warning because user has already agreed to always go extlink-warn - an interstitial is shown extlink-conf - user confirmed navigation to the external link (includes time) extlink-back - user decided not to proceed and went back to the page (includes time) extlink-close - user closed the browser when they saw an interstitial (includes time) extlink-always - user decided to continue and to always do it in the future (includes time) extlink-more - user asked for more information from their carrier"
type"string"
enum
"bannerclick"
"extlink"
"extlink-auto"
"extlink-warn"
"extlink-conf"
"extlink-back"
"extlink-close"
"extlink-always"
"extlink-more"
requiredtrue
time
type"number"
description"For some actions, the time it took user to choose an action, in seconds."
requiredfalse