PHP logging
EventLogging::logEvent( 'MobileAppTrackingChange', 5412592, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileAppTrackingChange": 5412592
}
}
}
}
JavaScript logging
mw.track( 'event.MobileAppTrackingChange', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Logs instances of people enabling or disabling EL tracking" |
---|
properties | username | type | "string" |
---|
required | true |
---|
description | "Commons Username" |
---|
|
---|
state | type | "boolean" |
---|
required | true |
---|
description | "Whether tracking was turned on or off" |
---|
|
---|
device | type | "string" |
---|
required | true |
---|
description | "The device model the user is uploading from. Examples: 'Galaxy Nexus', 'iPad3,1'" |
---|
|
---|
platform | type | "string" |
---|
required | true |
---|
description | "Platform / version the user is uploading from. Example: 'Android/4.2'" |
---|
|
---|
appversion | type | "string" |
---|
required | true |
---|
description | "Version of the app that the user is using. Example: 'Android/1.0', 'iOS/0.5beta1'" |
---|
|
---|
|
---|