Schema:MobileWikiAppOfflineLibrary

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
Revision 18118712
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"
requiredtrue
source
description"Source from which the user entered the Offline Library screen (0 = Feed overflow menu, 1 = other)."
type"integer"
requiredtrue
shareCount
description"Number of times the user shared an article pack from the list."
type"integer"
requiredtrue
time_spent
description"Amount of time, in seconds, that the user spent in the Offline Library screen."
type"integer"
requiredtrue
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"
requiredtrue
client_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue