Jump to content

Schema:GuidedTourExternalLinkActivation

PHP logging

EventLogging::logEvent( 'GuidedTourExternalLinkActivation', 8690560, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"GuidedTourExternalLinkActivation": 8690560
			}
		}
	}
}

JavaScript logging

mw.track( 'event.GuidedTourExternalLinkActivation', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 8690560
description"Recorded when a user activates an external link within a guider -- both via anchors that appear in the body of the guider and via buttons that link to external pages."
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 that the guider represents"
requiredtrue
label
type"string"
description"The displayed text of the link"
requiredtrue
href
type"string"
description"The hyperlink reference of the link."
requiredtrue