Schema:TestSearchSatisfaction3

PHP logging

EventLogging::logEvent( 'TestSearchSatisfaction3', 15312938, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TestSearchSatisfaction3": 15312938
			}
		}
	}
}

JavaScript logging

mw.track( 'event.TestSearchSatisfaction3', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 15312938
description"(Deprecated) Tracks the dwell time and bounce rate of a user on pages linked from a search engine result page."
properties
searchSessionId
type"string"
requiredtrue
description"A unique identifier generated per search session. A search session identifies a single user performing searches within a limited timespan. If no search is performed within ten minutes of a previous search a new session id is generated."
logId
type"string"
requiredtrue
description"A unique identifier generated per event. The SendBeaconReliability test showed that we have to expect duplicated events to be sent from the browser, so this allows de-duplicating those events."
action
type"string"
requiredtrue
enum
"searchResultPage"
"visitPage"
"checkin"
description"Identifies the context in which the event was created. Every time a new search is performed a searchEngineResultPage event is created. When the user clicks a link in the results a visitPage event is created. When the user has dwelled for N seconds (see 'checkin' below) a checkin event occurs"
checkin
type"integer"
requiredfalse
description"A numeric value representing the number of seconds a user has spent on a page. Pings at 10s, 20s, ..., 50s, 60s, 90s, 120s (2min), 150s, 180s (3min), 210s, 240s (4min), 300s (5min), 360s (6min), 420s (7min)."
pageId
type"string"
requiredtrue
description"A unique identifier generated per visited page. This allows a visitPage event to be correlated with a leavePage event."
mwSessionId
type"string"
requiredtrue
description"MediaWiki session id for correlating together actions in other schemas, such as QuickSurveys"
extraParams
type"string"
requiredfalse
description"Allows for additional parameters, such as flagging whether the user has opted in to a beta feature."