Jump to content

Schema:MobileWikiAppiOSFeed

PHP logging

EventLogging::logEvent( 'MobileWikiAppiOSFeed', 18280649, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppiOSFeed": 18280649
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppiOSFeed', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18280649
description"Measure user interactions with the feed on iOS"
properties
category
requiredtrue
description"On which screen this action is triggered"
type"string"
enum
"feed"
"feed_detail"
label
requiredfalse
description"On which feed card this action is triggered."
type"string"
action
requiredtrue
description"Which particular action triggered this event. On explore view, actions on feed cards: - impression: The feed card is shown. - open_card: Users tap to open the card detail view. - dismiss: Users tap on 'Hide this card'. - retain: Users tap on 'Undo' on the hidden card. - refresh: Users refresh the feed by swiping down at the top of the screen. Actions on articles of feed cards: - preview: Users 3D press to preview the article. - read_start: Users tap to read the article. - share_tap: Users tap the share button in the UI (does not necessarily mean that sharing was completed successfully). Actions after users open feed cards detail view: - close_card: Users tap to close the card detail view."
type"string"
enum
"impression"
"open_card"
"dismiss"
"retain"
"refresh"
"preview"
"read_start"
"share_tap"
"close_card"
measure_age
requiredfalse
description"0 based age of the feed. 0 represents today, 1 represents yesterday, etc."
type"integer"
measure_position
requiredfalse
description"0 based index for the articles in a single card."
type"integer"
measure_time
requiredfalse
description"When action=close_card/read_start/open_map (i.e. when users leave the feed detail view), time spent in seconds in feed detail view since open/back to the card."
type"integer"
measure_max_viewed
requiredfalse
description"When action=close_card/read_start/open_map (i.e. when users leave the feed detail view), percent of the page height that was reached since open/back to the card."
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