Jump to content

Schema:MobileWikiAppiOSSessions

PHP logging

EventLogging::logEvent( 'MobileWikiAppiOSSessions', 24181799, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppiOSSessions": 24181799
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppiOSSessions', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 24181799
description"Track the start and end of a session of using the app."
properties
category
requiredtrue
description"On which screen this session is started/ended. Currently we don't have a reliable way to identify the screen when users start a session."
type"string"
enum
"unknown"
label
requiredfalse
description"On which element of that screen this session is started/ended."
type"string"
action
requiredtrue
description"Identifies the context in which the event was created."
type"string"
enum
"session_start"
"session_end"
measure_time
requiredfalse
description"When action='session_end', this is the interval in seconds between session_start and session_end. When action='session_start', this is NULL."
type"integer"
page_load_latency_min
requiredfalse
description"Minimum latency, in milliseconds, of loading an article from the network."
type"integer"
page_load_latency_max
requiredfalse
description"Maximum latency, in milliseconds, of loading an article from the network."
type"integer"
page_load_latency_average
requiredfalse
description"Average latency, in milliseconds, of loading articles from the network."
type"integer"
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
primary_language
description"User's primary language."
type"string"
requiredtrue
is_anon
description"True if user has not logged in."
type"boolean"
requiredtrue
event_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue
session_id
description"A unique identifier randomly generated per session."
type"string"
requiredtrue