Jump to content

Schema:MobileWikiAppToCInteraction

PHP logging

EventLogging::logEvent( 'MobileWikiAppToCInteraction', 19044853, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppToCInteraction": 19044853
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppToCInteraction', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 19044853
description"Measure user interactions with the Table of Contents."
properties
num_peeks
description"Number of times that the circular thumb scroller peeked out of the screen edge."
type"integer"
requiredtrue
num_opens
description"Number of times that the ToC was opened fully."
type"integer"
requiredtrue
num_section_clicks
description"Number of times that the user clicked on a section in the ToC."
type"integer"
requiredtrue
total_peek_sec
description"Total amount of time, in seconds, that the circular thumb scroller was peeking out of the screen edge."
type"integer"
requiredtrue
total_open_sec
description"Total amount of time, in seconds, that the user spent looking at the ToC before either canceling or making a selection."
type"integer"
requiredtrue
page_id
description"The ID of the page to which the ToC applies."
type"integer"
requiredtrue
num_sections
description"Total number of sections displayed in the ToC."
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