PHP logging
EventLogging::logEvent( 'MobileWikiAppLogin', 24000493, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppLogin": 24000493
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppLogin', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Track user actions when using the login screen." |
---|
properties | action | description | "Which particular action triggered this event." |
---|
enum | "start" |
"success" |
"createAccountAttempt" |
"createAccountFailure" |
"createAccountSuccess" |
"error" |
|
---|
type | "string" |
---|
required | true |
---|
|
---|
source | description | "How the user came to the screen." |
---|
enum | "edit" |
"blocked" |
"navigation" |
"onboarding" |
"suggestededits" |
"reading_lists_manual_sync" |
"settings" |
"logout_background" |
"system" |
"subscribe" |
|
---|
type | "string" |
---|
required | false |
---|
|
---|
session_token | description | "Session token generated when the login process starts. Identifies events across the funnel." |
---|
type | "string" |
---|
required | true |
---|
|
---|
error_text | description | "Error response from the login method, if any." |
---|
type | "string" |
---|
required | false |
---|
|
---|
edit_session_token | description | "If source=edit, the editSessionToken used for recording that particular edit funnel." |
---|
type | "string" |
---|
required | false |
---|
|
---|
app_install_id | description | "Randomly generated UUID that is unique to each app install, which can be used to cross-reference the same app install across different schemas." |
---|
type | "string" |
---|
required | true |
---|
|
---|
client_dt | description | "Client-side ISO-8601-formatted date-time at which this event occurred." |
---|
type | "string" |
---|
required | true |
---|
|
---|
|
---|