PHP logging

EventLogging::logEvent( 'MobileWikiAppReadingLists', 18118739, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppReadingLists": 18118739
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppReadingLists', { /* ... */ } );

Schema:MobileWikiAppReadingLists

From Meta, a Wikimedia project coordination wiki
Revision 18118739
Jump to navigation Jump to search
description"Measure user interactions with Reading List features."
properties
action
requiredtrue
description"Which action in the funnel this is representing."
type"string"
enum
"addclick"
"addtonew"
"addtoexisting"
"modifylist"
"deletelist"
"deleteitem"
addsource
description"The source from which the add-to-list dialog was launched: 0 = bookmark icon under the lead image 1 = long-press menu 2 = link preview menu (Only used with addclick/addtonew/addtoexisting actions.)"
type"integer"
requiredfalse
listcount
description"Total number of reading lists that the user has, at the completion of this action."
type"integer"
requiredfalse
itemcount
description"Total number of items in the list that's currently being operated on."
type"integer"
requiredfalse
synced
description"Whether this user has enabled reading list syncing."
type"boolean"
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