Jump to content

Schema:GuidedTourExited

PHP logging

EventLogging::logEvent( 'GuidedTourExited', 8690566, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"GuidedTourExited": 8690566
			}
		}
	}
}

JavaScript logging

mw.track( 'event.GuidedTourExited', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 8690566
description"Recorded when a GuidedTour is exited explicitly by the user."
properties
userId
type"integer"
description"User ID of the user interacting with the tour (zero for anons)"
requiredtrue
sessionToken
type"string"
description"A randomly generated token that will identify a user's browser throughout a session of MediaWiki activities. Note that tokens do not persist between sessions. This field is NULL if the token cannot be generated or persisted between page loads (e.g. cookies are turned off). Tokens are generated with mw.user.sessionId()."
requiredfalse
tour
type"string"
description"The name of the tour. Used as a tour identifier."
requiredtrue
step
type"string"
description"The name of the current step at time of exit"
requiredtrue