Jump to content

Schema:SignupExpCTAImpression

PHP logging

EventLogging::logEvent( 'SignupExpCTAImpression', 9074567, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"SignupExpCTAImpression": 9074567
			}
		}
	}
}

JavaScript logging

mw.track( 'event.SignupExpCTAImpression', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 9074567
description"Represents an impression of the anonymous editor signup CTA."
properties
token
type"string"
requiredtrue
description"The randomly generated, identifying token"
cta
type"string"
enum
"pre-edit v1"
"pre-edit v2"
description"Bucket defining what version of the experimental UIs was shown to the user. * pre-edit v1 -- The original version of the pre-edit CTA that hides the "continue editing" button and has a header that might suggest that registration is necessary * pre-edit v2 -- The new version of the pre-edit CTA that calls more attention to the "continue editing button" and clearly states that signing up is optional."
requiredtrue
namespace
type"integer"
description"Specifies the namespace of the current page."
requiredtrue