Schema:ReferencePreviewsPopups

PHP logging

EventLogging::logEvent( 'ReferencePreviewsPopups', 21143802, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ReferencePreviewsPopups": 21143802
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ReferencePreviewsPopups', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21143802
description"Reference Previews interactions tracked by the Popups extension"
properties
action
type"string"
enum
"clickedReferencePreviewsContentLink"
"clickedGoToReferences"
"pageview"
"poppedOpen"
"scrolled"
description"`clickedReferencePreviewsContentLink` happens when a link within a reference preview is clicked. `clickedGoToReferences` happens with the link to jump to the reference is clicked. `pageview` is recorded when the tracking is loaded. `poppedOpen` is sent when a reference preview is opened. `scrolled` is sent once when a reference preview is first scrolled, but not again for that pageview."
requiredtrue
scrollbarsPresent
type"boolean"
description"True when scrollbars are visible in the popup."
requiredfalse