Jump to content

Schema:MobileWikiAppiOSReadingLists

PHP logging

EventLogging::logEvent( 'MobileWikiAppiOSReadingLists', 24086844, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppiOSReadingLists": 24086844
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppiOSReadingLists', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 24086844
description"Measure user interactions with the reading list feature on iOS"
properties
category
requiredtrue
description"On which screen this action is triggered: - feed: the explore view - feed_detail: the feed card detail view - history: the history tab - places: the places tab, can be map or list view - search: the search interface, can be invoked from several sources - add_to_list: the screen allowing users to add an article to existing/new reading list, or delete lists - saved: the saved tab - article: the article view - shared: the import shared reading list flow"
type"string"
enum
"feed"
"feed_detail"
"history"
"places"
"search"
"add_to_list"
"saved"
"article"
"shared"
label
requiredfalse
description"On which element of that screen this action is triggered: - When category='feed' or 'feed_detail', this represents the name of feed card. - When category='saved', this is 'items' (when users see the articles within a list) or 'lists' (when users see all their reading lists). - When category='article', this can be 'default', 'read_more', 'out_link' or 'similar_page'. - When category is other value, this is NULL."
type"string"
action
requiredtrue
description"Identifies the context in which the event was created."
type"string"
enum
"save"
"unsave"
"createlist"
"deletelist"
"read_start"
"receive_start"
"receive_cancel"
"receive_finish"
"survey_shown"
"survey_clicked"
measure
requiredfalse
description"Number of lists/articles affected."
type"integer"
measure_position
requiredfalse
description"0 based index for the articles in a single card."
type"integer"
measure_age
requiredfalse
description"0 based age of the feed. 0 represents today, 1 represents yesterday, etc."
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