PHP logging
EventLogging::logEvent( 'MobileWikiAppRandomizer', 18118733, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppRandomizer": 18118733
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppRandomizer', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Measure user interactions with the Randomizer feature. (Sampled at 1:1)" |
---|
properties | fingerSwipesForward | description | "Number of times that the user swiped forward with a finger gesture to load a new random page." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
fingerSwipesBack | description | "Number of times that the user swiped backward with a finger gesture." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
diceClicks | description | "Number of times that the user clicked the Dice icon to load a new random page." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
backClicks | description | "Number of times that the user clicked the Back icon to go to the previous random page." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
source | description | "Source from which the user entered the Randomizer screen (0 = feed, 1 = app shortcut)." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
time_spent | description | "Amount of time, in seconds, that the user spent in the Randomizer 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 |
---|
|
---|
|
---|