Schema:GettingStartedRedirectImpression

PHP logging

EventLogging::logEvent( 'GettingStartedRedirectImpression', 7368746, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"GettingStartedRedirectImpression": 7368746
			}
		}
	}
}

JavaScript logging

mw.track( 'event.GettingStartedRedirectImpression', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 7368746
description"Logs the Onboarding call-to-action (CTA) which is shown to newly registered users on the page they are redirected to (redirect page) after signing up whether a CTA was actually shown or not. Note that ctaType will be unset in the case that no CTA was presented."
properties
userId
type"integer"
description"User ID (note that events from anonymous users are not logged)"
requiredtrue
pageId
type"integer"
description"The ID of the redirect page if available (e.g., not set if page has not yet been created or for Special pages)"
pageNS
type"integer"
description"Namespace of the page associated with all events. This is available even if pageId is not."
requiredtrue
currentRevId
type"integer"
description"Current revision of the redirect page if available (e.g., not set if page has not yet been created or for Special pages)"
action
type"string"
description"The current action if specified -- otherwise not set. (e.g. "edit", "submit", "history", etc.)"
isEditable
type"boolean"
description"True if the redirect page the user is invited to edit is editable based on user privileges. This is based on quickUserCan/wgIsProbablyEditable, so it may provide a false positive in some edge cases (such as cascading protection), but should never provide false negatives."
requiredtrue
ctaType
type"string"
description"Specifies what type of CTA was shown if any (e.g., not set if a CTA was not shown) - 'suggested' refers to the version of the CTA that only includes a button for 'Find pages that need easy fixes' - 'edit current' refers to the version of the CTA that only includes a button for 'Edit this page' - 'edit current or suggested' refers the CTA that contains both the 'suggested' button and an 'Edit this page' button. If field is omitted, then no CTA was presented."
enum
"suggested"
"edit current"
"edit current or suggested"