Jump to content

Schema:MobileWikiAppFeed

PHP logging

EventLogging::logEvent( 'MobileWikiAppFeed', 18115458, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppFeed": 18115458
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppFeed', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18115458
description"Measure user interactions with the Feed."
properties
action
description"Which particular action triggered this event: - enter: The user has navigated to the feed. - exit: The user has navigated away from the feed. - more: The user requested more feed contents by scrolling down. (This is not sent for the 'first' feed request, but only for subsequent ones.) - refresh: The user refreshed the feed by swiping down at the top of the screen. - dismiss: The user dismissed a card from the feed. - cardShown: A specific card has been shown to ther user (impression). - cardClicked: A specific card has been clicked by the user (clickthrough)."
enum
"enter"
"exit"
"more"
"refresh"
"dismiss"
"cardShown"
"cardClicked"
type"string"
requiredtrue
age
description"The age of feed contents that was requested (applies to 'more' action). The further down the user scrolls, the more the age increases."
type"integer"
requiredfalse
cardType
description"Type of card on which the action was performed (applies to 'dismiss' action). This maps to the card type enumeration defined in our code."
type"integer"
requiredfalse
position
description"Position within the feed list of the card on which the action was performed (applies to 'dismiss' action)."
type"integer"
requiredfalse
language
description"Language code of the card."
type"string"
requiredfalse
session_token
description"Session token for this funnel, i.e. will be constant for the lifetime of the Feed fragment on the user's device."
type"string"
requiredtrue
time_spent
description"Amount of time, in seconds, that the user has been looking at the feed when this event took place."
type"integer"
requiredfalse
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