Jump to content

Schema:TaskRecommendationClick

PHP logging

EventLogging::logEvent( 'TaskRecommendationClick', 9266317, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TaskRecommendationClick": 9266317
			}
		}
	}
}

JavaScript logging

mw.track( 'event.TaskRecommendationClick', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 9266317
description"Logs clicks on recommended pages delivered by the GettingStarted extension."
properties
setId
type"string"
requiredtrue
description"An identifier for a recommendation set. The string in this field will be unique and consistent for the set of tasks that are recommended together."
pageId
type"integer"
requiredtrue
description"The ID of the recommended page that was clicked."