PHP logging
EventLogging::logEvent( 'MobileWikiAppFindInPage', 19690671, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppFindInPage": 19690671
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppFindInPage', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Measure user interactions with find-in-page. Sampled at 1:1" |
---|
properties | findText | description | "Text that the user typed into the Find box." |
---|
type | "string" |
---|
required | false |
---|
|
---|
numFindNext | description | "Number of times that the Find Next button was clicked." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
numFindPrev | description | "Number of times that the Find Previous button was clicked." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
time_spent | description | "Amount of time, in seconds, that the user spent in the find-in-page context." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
pageHeight | description | "The total height of the page, in device-independent pixels." |
---|
type | "integer" |
---|
required | true |
---|
|
---|
pageID | description | "The ID of the page in which the user was finding text." |
---|
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 |
---|
|
---|
|
---|