Jump to content

Schema:MobileWikiAppRandomizer

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
Revision 18118733
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"
requiredtrue
fingerSwipesBack
description"Number of times that the user swiped backward with a finger gesture."
type"integer"
requiredtrue
diceClicks
description"Number of times that the user clicked the Dice icon to load a new random page."
type"integer"
requiredtrue
backClicks
description"Number of times that the user clicked the Back icon to go to the previous random page."
type"integer"
requiredtrue
source
description"Source from which the user entered the Randomizer screen (0 = feed, 1 = app shortcut)."
type"integer"
requiredtrue
time_spent
description"Amount of time, in seconds, that the user spent in the Randomizer 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