PHP logging
EventLogging::logEvent( 'MobileWikiAppCreateAccount', 20709917, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppCreateAccount": 20709917
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppCreateAccount', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Track user actions when using the createaccount screen." |
---|
properties | action | description | "Which particular action triggered this event." |
---|
enum | "start" |
"success" |
"captchaShown" |
"captchaFailure" |
"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" |
|
---|
type | "string" |
---|
required | false |
---|
|
---|
session_token | description | "Session token for this create account funnel." |
---|
type | "string" |
---|
required | true |
---|
|
---|
loginSessionToken | description | "Session token of login funnel from which this create account flow was started." |
---|
type | "string" |
---|
required | false |
---|
|
---|
errorText | description | "Error response from the create account method, if any." |
---|
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 |
---|
|
---|
|
---|