PHP logging
EventLogging::logEvent( 'MobileWikiAppOfflineLibrary', 18118712, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppOfflineLibrary": 18118712
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppOfflineLibrary', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Measure user interactions with the Offline Library feature. (Sampled at 1:1)" |
---|
properties | packList | description | "List of offline article pack titles that the user has downloaded." |
---|
type | "string" |
---|
required | true |
---|
|
---|
source | description | "Source from which the user entered the Offline Library screen (0 = Feed overflow menu, 1 = other)." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
shareCount | description | "Number of times the user shared an article pack from the list." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
time_spent | description | "Amount of time, in seconds, that the user spent in the Offline Library 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 |
---|
|
---|
|
---|