Jump to content

Schema:SignupExpCTAButtonClick

PHP logging

EventLogging::logEvent( 'SignupExpCTAButtonClick', 9074586, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"SignupExpCTAButtonClick": 9074586
			}
		}
	}
}

JavaScript logging

mw.track( 'event.SignupExpCTAButtonClick', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 9074586
description"Represents a click on a button within 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 experimental UIs the button appeared in. * 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
button
type"string"
enum
"edit"
"signup"
"dismiss"
description"Specifies the button that was clicked: * edit -- The "Continue as anonymous" button that allows the user to continue with their edit. * signup -- The "Signup and Edit" or "Create my account" button depending on the CTA. * dismiss -- The "X" in the upper right that dismisses the guider."
requiredtrue
namespace
type"integer"
description"Specifies the namespace of the current page."
requiredtrue