PHP logging
EventLogging::logEvent( 'MobileWikiAppToCInteraction', 19044853, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppToCInteraction": 19044853
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppToCInteraction', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Measure user interactions with the Table of Contents." |
---|
properties | num_peeks | description | "Number of times that the circular thumb scroller peeked out of the screen edge." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
num_opens | description | "Number of times that the ToC was opened fully." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
num_section_clicks | description | "Number of times that the user clicked on a section in the ToC." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
total_peek_sec | description | "Total amount of time, in seconds, that the circular thumb scroller was peeking out of the screen edge." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
total_open_sec | description | "Total amount of time, in seconds, that the user spent looking at the ToC before either canceling or making a selection." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
page_id | description | "The ID of the page to which the ToC applies." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
num_sections | description | "Total number of sections displayed in the ToC." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
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 |
---|
|
---|
|
---|