PHP logging
EventLogging::logEvent( 'MobileACUX', 4993057, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileACUX": 4993057
}
}
}
}
JavaScript logging
mw.track( 'event.MobileACUX', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Used to log the account creation funnel on mobile Wikimedia sites. Tracks whether users enter from content, site navigation space, or special page." |
---|
properties | token | type | "string" |
---|
required | true |
---|
description | "Anonymized, persistent user token to ensure we can de-duplicate users." |
---|
|
---|
anon | type | "boolean" |
---|
required | true |
---|
description | "False if user has logged in." |
---|
|
---|
action | type | "string" |
---|
required | true |
---|
enum | "login-click" |
"signup-click" |
"signup-submit" |
"signup-submit-success" |
|
---|
description | "Any of the possible actions involved in creating an account in the account creation funnel on mobile" |
---|
|
---|
funnel | type | "string" |
---|
enum | |
---|
description | "Logs which account creation funnel the user is coming in from: article (watchliststarCTA) or navigation (left nav login link)" |
---|
|
---|
target | type | "string" |
---|
enum | "article" |
"watchlist" |
"donate-image" |
|
---|
description | "Logs where the user goes after account creation: article or special page (watchlist, donate image page)" |
---|
|
---|
|
---|