Schema:InukaPageView

PHP logging

EventLogging::logEvent( 'InukaPageView', 21205270, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"InukaPageView": 21205270
			}
		}
	}
}

JavaScript logging

mw.track( 'event.InukaPageView', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21205270
description"Logs reading behavior of Inuka target users."
properties
user_id
type"string"
requiredtrue
description"Randomly generated user id, expiring after 90 days of inactivity."
session_id
type"string"
requiredtrue
description"Randomly generated session id."
pageview_token
type"string"
requiredtrue
description"Allows deduplicating events that are sent for the same page view."
client_type
type"string"
enum
"android-web"
"ios-web"
"kaios-web"
"kaios-app"
requiredtrue
description"The Wikipedia client that is being used. Starting March 2021, only `kaios-app` is used as logging from the web clients has been removed."
app_version
type"string"
requiredfalse
description"The version of the app that the user is running."
referring_domain
type"string"
requiredfalse
description"The domain the user is coming from."
load_dt
type"string"
requiredtrue
description"Time when the page was loaded."
page_open_time
type"integer"
requiredtrue
description"Total time in miliseconds the page was open."
page_visible_time
type"integer"
requiredtrue
description"Total time in miliseconds the page was visible."
section_count
type"integer"
requiredtrue
description"Number of collapsible sections on the page."
opened_section_count
type"integer"
requiredtrue
description"Number of collapsible sections on the page that were opened at least once."
page_namespace
type"integer"
requiredtrue
description"Page namespace"
is_main_page
type"boolean"
requiredtrue
description"Whether the current page is the main page."
is_search_page
type"boolean"
requiredtrue
description"Whether the current page is the search result page."
tests
type"array"
requiredfalse
description"The list of experiments in which the user is enrolled at event time"
items
type"object"
requiredfalse
description"An entry describing a particular experiment in which the user is enrolled."
properties
name
type"string"
requiredtrue
description"The name of the experiment. For example, '2021-03-KaiOS-app-homepage-content-suggestions'."
group
type"string"
requiredtrue
description"The name of the experimental group to which the user was assigned. For example, 'control' or 'trending-articles'."
is_production
type"boolean"
requiredfalse
description"Whether the event comes from real production use or artificial use by developers and testers."