Jump to content

Schema:MobileWikiAppOnThisDay

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
Revision 18118721
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"
requiredtrue
scrolledEvents
description"Total number of On This Day events that the user scrolled through."
type"integer"
requiredtrue
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"
requiredtrue
time_spent
description"Amount of time, in seconds, that the user spent in the On This Day 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