Schema:EchoPageViewsUntilSeen

PHP logging

EventLogging::logEvent( 'EchoPageViewsUntilSeen', 15942481, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"EchoPageViewsUntilSeen": 15942481
			}
		}
	}
}

JavaScript logging

mw.track( 'event.EchoPageViewsUntilSeen', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 15942481
description"Logs the number of pages user has visited before they've seen an unseen notification"
properties
type
type"string"
description"The type of notification that was seen. This could be 'alert' or 'message' if the popup was opened, or 'all' if the special page or mobile popup were visited."
requiredtrue
numpages
type"integer"
description"The number of pages the user has visited before the've seen the notification type"
duration
type"integer"
description"The duration of time for the user between the last time they seen this notification type"
mobile
type"boolean"
description"Whether this visit was from mobile. Note that this is only marking the context of the visit where the user has opened their notifications, and not their total visit count."