PHP logging
EventLogging::logEvent( 'MobileWikiAppOnThisDay', 18118721, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppOnThisDay": 18118721
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppOnThisDay', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Measure user interactions with the On This Day feature. (Sampled at 1:1)" |
---|
properties | totalEvents | description | "Total number of On This Day events that were in the list." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
scrolledEvents | description | "Total number of On This Day events that the user scrolled through." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
source | description | "Source from which the user entered the On This Day screen (0 = body of the On This Day card, 1 = footer of the On This Day card)." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
time_spent | description | "Amount of time, in seconds, that the user spent in the On This Day screen." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
app_install_id | description | "Randomly generated UUID that is unique to each app install, which can be used to cross-reference the same app install across different schemas." |
---|
type | "string" |
---|
required | true |
---|
|
---|
client_dt | description | "Client-side ISO-8601-formatted date-time at which this event occurred." |
---|
type | "string" |
---|
required | true |
---|
|
---|
|
---|